Merge pull request #153864 from iand675/honeycomb-tools

Add several CLI tools for sending data to honeycomb.io
This commit is contained in:
Thomas Tuegel 2022-01-12 17:27:09 -06:00 committed by GitHub
commit bf41a77ce8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 87 additions and 0 deletions

View file

@ -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 ];
};
})

View file

@ -0,0 +1,6 @@
generic: {
v0_2_1 = generic {
version = "0.2.1";
sha256 = "0gp427bsc1y7k6j1sqgl8r3kng5b0qhmqd4bpfb9139ivmp2sykk";
};
}

View file

@ -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 ];
};
})

View file

@ -0,0 +1,6 @@
generic: {
v1_6_0 = generic {
version = "1.6.0";
sha256 = "039svpvqjck7s3rq86s29xgcyxl1wr0zj90s3jsyp058zk1dgwdy";
};
}

View file

@ -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 ];
};
})

View file

@ -0,0 +1,6 @@
generic: {
v1_1_0 = generic {
version = "1.1.0";
sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7";
};
}

View file

@ -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 { };
}