opentelemetry-collector-contrib: 0.78.0 -> 0.85.0

This commit is contained in:
Sophie Taylor 2023-09-19 07:08:43 +10:00 committed by Sophie Taylor (spacekitteh)
parent 0108f8d6f4
commit 2abb18794a
No known key found for this signature in database
GPG Key ID: F3EE4DE7CA6C1E1B

View File

@ -8,26 +8,22 @@
buildGoModule rec {
pname = "opentelemetry-collector-contrib";
version = "0.78.0";
version = "0.85.0";
src = fetchFromGitHub {
owner = "open-telemetry";
repo = "opentelemetry-collector-contrib";
rev = "v${version}";
sha256 = "sha256-5oTXPQU1aT8Xm1bTjbnauBUqzBqBH+yBzC1tmLHA0v0=";
sha256 = "sha256-n7lOd3G9MGB63Jveis6DPMOEs80B8gCf0BD5fZ4+/u8=";
};
# proxy vendor to avoid hash missmatches between linux and macOS
proxyVendor = true;
vendorHash = "sha256-ABaRedZXPr2q2AmslVNIJUvONZa4tv7OkxBLR9GuBRE=";
vendorHash = "sha256-t6DOt5x6EY6fwsnqgHnvcjWBBKSiLYE9fKqFnso7JV8=";
# there is a nested go.mod
sourceRoot = "${src.name}/cmd/otelcontribcol";
# upstream strongly recommends disabling CGO
# additionally dependencies have had issues when GCO was enabled that weren't caught upstream
# https://github.com/open-telemetry/opentelemetry-collector/blob/main/CONTRIBUTING.md#using-cgo
CGO_ENABLED = 0;
# journalctl is required in-$PATH for the journald receiver tests.
nativeCheckInputs = lib.optionals stdenv.isLinux [ systemdMinimal ];