2021-05-28 09:39:13 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "opentelemetry-collector";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.40.0";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-telemetry";
|
|
|
|
repo = "opentelemetry-collector-contrib";
|
|
|
|
rev = "v${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-YFgAS4WReyMnzb6FOeRUXHf1LUgknH5gWObiZNKMbv8=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
vendorSha256 = "sha256-DTZLYF3BoQGou59KaL56pkxySsoQ0xeJ5aF/SkewziE=";
|
2021-08-06 21:57:35 +00:00
|
|
|
proxyVendor = true;
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
CGO_ENABLED = 0;
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
subPackages = [ "cmd/otelcontribcol" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/open-telemetry/opentelemetry-collector";
|
|
|
|
description = "OpenTelemetry Collector";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.uri-canva ];
|
|
|
|
};
|
|
|
|
}
|