2020-11-06 00:33:48 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tempo";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "2.1.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;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-gnQAldqfxJk8kbXAyX1VQXddCnSBWnvc3wesYoYI7wI=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
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 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|