mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
New package: prometheus-cli
This commit is contained in:
parent
6564dd8199
commit
d11bb48234
25
pkgs/servers/monitoring/prometheus/cli/default.nix
Normal file
25
pkgs/servers/monitoring/prometheus/cli/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
name = "prometheus-cli-0.2.0";
|
||||
goPackagePath = "github.com/prometheus/prometheus_cli";
|
||||
src = fetchFromGitHub {
|
||||
owner = "prometheus";
|
||||
repo = "prometheus_cli";
|
||||
rev = "b36c21d2301cf686bff81953573a29a6d5a0a883";
|
||||
sha256 = "190dlc6fyrfgxab4xj3gaz4jwx33jhzg57d8h36xjx56gbvp7iyk";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
goPackages.prometheus.client_model
|
||||
goPackages.prometheus.client_golang
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line tool for querying the Prometheus HTTP API";
|
||||
homepage = https://github.com/prometheus/prometheus_cli;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -8385,6 +8385,8 @@ let
|
||||
prometheus = callPackage ../servers/monitoring/prometheus { };
|
||||
prometheus-alertmanager =
|
||||
callPackage ../servers/monitoring/prometheus/alertmanager { };
|
||||
prometheus-cli =
|
||||
callPackage ../servers/monitoring/prometheus/cli { };
|
||||
prometheus-haproxy-exporter =
|
||||
callPackage ../servers/monitoring/prometheus/haproxy_exporter { };
|
||||
prometheus-pushgateway =
|
||||
|
Loading…
Reference in New Issue
Block a user