2021-08-12 07:30:27 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "fastly-exporter";
|
2023-07-15 18:18:40 +00:00
|
|
|
version = "7.6.1";
|
2021-08-12 07:30:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "peterbourgon";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-15 18:18:40 +00:00
|
|
|
sha256 = "sha256-JUbjWAJ70iq0RCr6U2thbtZ3nmCic9wGtSf2ArRy4uA=";
|
2021-08-12 07:30:27 +00:00
|
|
|
};
|
|
|
|
|
2023-07-04 08:23:27 +00:00
|
|
|
vendorHash = "sha256-lEaMhJL/sKNOXx0W+QHMG4QUUE6Pc4AqulhgyCMQQNY=";
|
2021-08-12 07:30:27 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Prometheus exporter for the Fastly Real-time Analytics API";
|
|
|
|
homepage = "https://github.com/peterbourgon/fastly-exporter";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.deshaw.members;
|
|
|
|
};
|
|
|
|
}
|