2021-05-16 13:38:04 +02:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "opentelemetry-collector";
|
2021-11-10 00:43:11 +01:00
|
|
|
version = "0.38.0";
|
2021-05-16 13:38:04 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-telemetry";
|
2021-05-17 01:29:36 +02:00
|
|
|
repo = "opentelemetry-collector-contrib";
|
2021-05-16 13:38:04 +02:00
|
|
|
rev = "v${version}";
|
2021-11-10 00:43:11 +01:00
|
|
|
sha256 = "1sgzz7p19vy7grvq1qrfgf5rw3yjnidcsdsky2l2g98i54md25ml";
|
2021-05-16 13:38:04 +02:00
|
|
|
};
|
|
|
|
|
2021-11-10 00:43:11 +01:00
|
|
|
vendorSha256 = "1p9i01lwz7yidlmcri3pndmg8brgdrd0ai8sag9xn021hw2sn6qq";
|
2021-07-25 11:33:21 +02:00
|
|
|
proxyVendor = true;
|
2021-05-16 13:38:04 +02:00
|
|
|
|
2021-11-10 00:43:11 +01:00
|
|
|
CGO_ENABLED = 0;
|
|
|
|
|
2021-05-16 13:38:04 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|