2021-05-28 09:39:13 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "opentelemetry-collector";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.38.0";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-telemetry";
|
|
|
|
repo = "opentelemetry-collector-contrib";
|
|
|
|
rev = "v${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "1sgzz7p19vy7grvq1qrfgf5rw3yjnidcsdsky2l2g98i54md25ml";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
vendorSha256 = "1p9i01lwz7yidlmcri3pndmg8brgdrd0ai8sag9xn021hw2sn6qq";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|