mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
grafana-loki: init at 0.1.0
This commit is contained in:
parent
0822701ffd
commit
25b2a5eba6
2 changed files with 26 additions and 0 deletions
24
pkgs/servers/monitoring/loki/default.nix
Normal file
24
pkgs/servers/monitoring/loki/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
version = "0.1.0";
|
||||
name = "grafana-loki-${version}";
|
||||
goPackagePath = "github.com/grafana/loki";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "grafana";
|
||||
repo = "loki";
|
||||
sha256 = "18iysr8p84vd1sdjdnpc9cydd5rpw0azdjzpz8yjqhscqw9gk4w2";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Like Prometheus, but for logs.";
|
||||
license = licenses.asl20;
|
||||
homepage = https://grafana.com/loki;
|
||||
maintainers = with maintainers; [ willibutz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -14196,6 +14196,8 @@ in
|
|||
|
||||
grafana = callPackage ../servers/monitoring/grafana { };
|
||||
|
||||
grafana-loki = callPackage ../servers/monitoring/loki { };
|
||||
|
||||
grafana_reporter = callPackage ../servers/monitoring/grafana-reporter { };
|
||||
|
||||
h2o = callPackage ../servers/http/h2o { };
|
||||
|
|
Loading…
Reference in a new issue