forked from mirrors/nixpkgs
Merge pull request #153864 from iand675/honeycomb-tools
Add several CLI tools for sending data to honeycomb.io
This commit is contained in:
commit
bf41a77ce8
21
pkgs/servers/tracing/honeycomb/honeymarker/default.nix
Normal file
21
pkgs/servers/tracing/honeycomb/honeymarker/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
|
6
pkgs/servers/tracing/honeycomb/honeymarker/versions.nix
Normal file
6
pkgs/servers/tracing/honeycomb/honeymarker/versions.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
generic: {
|
||||
v0_2_1 = generic {
|
||||
version = "0.2.1";
|
||||
sha256 = "0gp427bsc1y7k6j1sqgl8r3kng5b0qhmqd4bpfb9139ivmp2sykk";
|
||||
};
|
||||
}
|
21
pkgs/servers/tracing/honeycomb/honeytail/default.nix
Normal file
21
pkgs/servers/tracing/honeycomb/honeytail/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
|
6
pkgs/servers/tracing/honeycomb/honeytail/versions.nix
Normal file
6
pkgs/servers/tracing/honeycomb/honeytail/versions.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
generic: {
|
||||
v1_6_0 = generic {
|
||||
version = "1.6.0";
|
||||
sha256 = "039svpvqjck7s3rq86s29xgcyxl1wr0zj90s3jsyp058zk1dgwdy";
|
||||
};
|
||||
}
|
21
pkgs/servers/tracing/honeycomb/honeyvent/default.nix
Normal file
21
pkgs/servers/tracing/honeycomb/honeyvent/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
|
6
pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
Normal file
6
pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
generic: {
|
||||
v1_1_0 = generic {
|
||||
version = "1.1.0";
|
||||
sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue