2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pygtail,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "logster";
|
|
|
|
version = "1.0.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "etsy";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "06ac5hydas24h2cn8l5i69v1z0min5hwh6a1lcm1b08xnvpsi85q";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pygtail ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Parses log files, generates metrics for Graphite and Ganglia";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "logster";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
homepage = "https://github.com/etsy/logster";
|
|
|
|
};
|
|
|
|
}
|