-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add argus and epimetheus * fixup mac deps for epimetheus * update vocab
- Loading branch information
1 parent
60486e5
commit a78f662
Showing
6 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
(?i)addons | ||
(?i)airbyte | ||
(?i)alibaba | ||
(?i)argus | ||
(?i)AWS | ||
(?i)awscli | ||
(?i)epimetheus | ||
(?i)flipt | ||
(?i)gcloud | ||
(?i)GCP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,8 @@ | |
(?i)haproxy | ||
(?i)headscale | ||
(?i)html | ||
(?i)http | ||
(?i)https | ||
(?i)infisical | ||
(?i)javascript | ||
(?i)json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ | |
(?i)palworld | ||
(?i)stationeers | ||
(?i)styx | ||
(?i)swiss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# [argus](https://github.com/jpetrucciani/argus) is a customizable http request logger with prometheus metrics | ||
{ lib | ||
, rustPlatform | ||
, fetchFromGitHub | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "argus"; | ||
version = "0.1.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "jpetrucciani"; | ||
repo = "argus"; | ||
rev = version; | ||
hash = "sha256-1ZSo1Nv6WeEI/5uNhvzwB2CudqHf/YKRiCAhOR9ARgg="; | ||
}; | ||
|
||
cargoHash = "sha256-q8a7HXhE46OAsh1QceLQNMUadjm1GIrnQwZYsa96D+M="; | ||
|
||
meta = with lib; { | ||
description = "A customizable http request logger with prometheus metrics"; | ||
homepage = "https://github.com/jpetrucciani/argus"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ jpetrucciani ]; | ||
mainProgram = "argus"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# [epimetheus](https://github.com/jpetrucciani/epimetheus) is a swiss army knife prometheus exporter capable of watching json/csv/yaml files and providing prometheus metrics | ||
{ lib | ||
, rustPlatform | ||
, fetchFromGitHub | ||
, stdenv | ||
, darwin | ||
}: | ||
let | ||
osSpecific = | ||
if stdenv.isDarwin then | ||
(with darwin.apple_sdk.frameworks; [ | ||
Security | ||
SystemConfiguration | ||
]) else [ ]; | ||
in | ||
rustPlatform.buildRustPackage rec { | ||
pname = "epimetheus"; | ||
version = "0.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "jpetrucciani"; | ||
repo = "epimetheus"; | ||
rev = version; | ||
hash = "sha256-Olgy944mPv0Lq2KfyyBMqqkyHu2tW18OQNz/I6CPI0c="; | ||
}; | ||
|
||
cargoHash = "sha256-3WtVezwva8sJF7OQt599ATc74BVqKojmD0hWtEpSEu8="; | ||
|
||
buildInputs = osSpecific; | ||
|
||
meta = with lib; { | ||
description = "A swiss army knife prometheus exporter capable of watching json/csv/yaml files and providing prometheus metrics"; | ||
homepage = "https://github.com/jpetrucciani/epimetheus"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ jpetrucciani ]; | ||
mainProgram = "epimetheus"; | ||
}; | ||
} |