added prometheus data export

This commit is contained in:
specCon18 2023-08-02 00:47:47 -04:00
parent f9e7f97f00
commit 3273539169
14 changed files with 3248 additions and 3577 deletions

26
flake.nix Normal file
View file

@ -0,0 +1,26 @@
{
description = "A simple Rust project";
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }: {
defaultPackage.x86_64-linux = with nixpkgs.legacyPackages.x86_64-linux; stdenv.mkDerivation {
name = "my-rust-project";
src = self;
buildInputs = [
openssl
pkgconfig
rustc
cargo
];
shellHook = ''
export OPENSSL_DIR=${openssl.dev}
export OPENSSL_LIB_DIR=${openssl.out}/lib
export OPENSSL_INCLUDE_DIR=${openssl.dev}/include
'';
};
};
}