2020-11-06 00:33:48 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tempo";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "2.3.1";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grafana";
|
|
|
|
repo = "tempo";
|
2022-07-14 12:49:19 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
fetchSubmodules = true;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-U4qn4bBaVCDRQArlxXUURwjz5iPQv7R8o2+xR3PQHGc=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
vendorHash = null;
|
2020-11-06 00:33:48 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
subPackages = [
|
|
|
|
"cmd/tempo-cli"
|
|
|
|
"cmd/tempo-query"
|
2022-08-21 13:32:41 +00:00
|
|
|
"cmd/tempo-serverless"
|
2022-07-14 12:49:19 +00:00
|
|
|
"cmd/tempo-vulture"
|
|
|
|
"cmd/tempo"
|
|
|
|
];
|
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X=main.Version=${version}"
|
|
|
|
"-X=main.Branch=<release>"
|
|
|
|
"-X=main.Revision=${version}"
|
|
|
|
];
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
# tests use docker
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A high volume, minimal dependency trace storage";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = "https://grafana.com/oss/tempo/";
|
|
|
|
maintainers = with maintainers; [ willibutz ];
|
|
|
|
};
|
|
|
|
}
|