diff --git a/pkgs/servers/tracing/honeycomb/honeymarker/default.nix b/pkgs/servers/tracing/honeycomb/honeymarker/default.nix new file mode 100644 index 000000000000..ab059b518e74 --- /dev/null +++ b/pkgs/servers/tracing/honeycomb/honeymarker/default.nix @@ -0,0 +1,21 @@ +{ lib, buildGoModule, fetchurl }: +import ./versions.nix ({version, sha256}: + buildGoModule { + pname = "honeymarker"; + inherit version; + vendorSha256 = "sha256-ZuDobjC/nizZ7G0o/zVTQmDfDjcdBhfPcmkhgwFc7VU="; + + src = fetchurl { + url = "https://github.com/honeycombio/honeymarker/archive/refs/tags/v${version}.tar.gz"; + inherit sha256; + }; + inherit (buildGoModule.go) GOOS GOARCH; + + meta = with lib; { + description = "provides a simple CRUD interface for dealing with per-dataset markers on honeycomb.io"; + homepage = "https://honeycomb.io/"; + license = licenses.asl20; + maintainers = [ maintainers.iand675 ]; + }; +}) + diff --git a/pkgs/servers/tracing/honeycomb/honeymarker/versions.nix b/pkgs/servers/tracing/honeycomb/honeymarker/versions.nix new file mode 100644 index 000000000000..c7fde50e15d0 --- /dev/null +++ b/pkgs/servers/tracing/honeycomb/honeymarker/versions.nix @@ -0,0 +1,6 @@ +generic: { + v0_2_1 = generic { + version = "0.2.1"; + sha256 = "0gp427bsc1y7k6j1sqgl8r3kng5b0qhmqd4bpfb9139ivmp2sykk"; + }; +} diff --git a/pkgs/servers/tracing/honeycomb/honeytail/default.nix b/pkgs/servers/tracing/honeycomb/honeytail/default.nix new file mode 100644 index 000000000000..cbe901f2859a --- /dev/null +++ b/pkgs/servers/tracing/honeycomb/honeytail/default.nix @@ -0,0 +1,21 @@ +{ lib, buildGoModule, fetchurl }: +import ./versions.nix ({version, sha256}: + buildGoModule { + pname = "honeytail"; + inherit version; + vendorSha256 = "sha256-LtiiLGLjhbfT49A6Fw5CbSbnmTHMxtcUssr+ayCVrvY="; + + src = fetchurl { + url = "https://github.com/honeycombio/honeytail/archive/refs/tags/v${version}.tar.gz"; + inherit sha256; + }; + inherit (buildGoModule.go) GOOS GOARCH; + + meta = with lib; { + description = "agent for ingesting log file data into honeycomb.io and making it available for exploration"; + homepage = "https://honeycomb.io/"; + license = licenses.asl20; + maintainers = [ maintainers.iand675 ]; + }; +}) + diff --git a/pkgs/servers/tracing/honeycomb/honeytail/versions.nix b/pkgs/servers/tracing/honeycomb/honeytail/versions.nix new file mode 100644 index 000000000000..370d645ab626 --- /dev/null +++ b/pkgs/servers/tracing/honeycomb/honeytail/versions.nix @@ -0,0 +1,6 @@ +generic: { + v1_6_0 = generic { + version = "1.6.0"; + sha256 = "039svpvqjck7s3rq86s29xgcyxl1wr0zj90s3jsyp058zk1dgwdy"; + }; +} diff --git a/pkgs/servers/tracing/honeycomb/honeyvent/default.nix b/pkgs/servers/tracing/honeycomb/honeyvent/default.nix new file mode 100644 index 000000000000..839b8ec053f7 --- /dev/null +++ b/pkgs/servers/tracing/honeycomb/honeyvent/default.nix @@ -0,0 +1,21 @@ +{ lib, buildGoModule, fetchurl }: +import ./versions.nix ({version, sha256}: + buildGoModule { + pname = "honeyvent"; + inherit version; + vendorSha256 = null; + + src = fetchurl { + url = "https://github.com/honeycombio/honeyvent/archive/refs/tags/v${version}.tar.gz"; + inherit sha256; + }; + inherit (buildGoModule.go) GOOS GOARCH; + + meta = with lib; { + description = "CLI for sending individual events to honeycomb.io"; + homepage = "https://honeycomb.io/"; + license = licenses.asl20; + maintainers = [ maintainers.iand675 ]; + }; +}) + diff --git a/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix b/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix new file mode 100644 index 000000000000..831de6c93372 --- /dev/null +++ b/pkgs/servers/tracing/honeycomb/honeyvent/versions.nix @@ -0,0 +1,6 @@ +generic: { + v1_1_0 = generic { + version = "1.1.0"; + sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d3647092382..617d876165cb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34341,4 +34341,10 @@ with pkgs; }; zthrottle = callPackage ../tools/misc/zthrottle { }; + + honeymarker = callPackage ../servers/tracing/honeycomb/honeymarker { }; + + honeytail = callPackage ../servers/tracing/honeycomb/honeytail { }; + + honeyvent = callPackage ../servers/tracing/honeycomb/honeyvent { }; }