Skip to content

thewhitewizard/targets-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus exporter in Rust

note to build for RPI 4

sudo apt-get install -y gcc-aarch64-linux-gnu
rustup target add aarch64-unknown-linux-gnu
cargo build --target aarch64-unknown-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu
curl localhost:8080/metrics

cryptocurrency_price_target{token="bitcoin"} 150000
cryptocurrency_price_target_tp1{token="bitcoin"} 112500
cryptocurrency_price_target_tp2{token="bitcoin"} 120000
cryptocurrency_price_target_tp3{token="bitcoin"} 135000
cryptocurrency_price_target{token="ethereum"} 10000
cryptocurrency_price_target_tp1{token="ethereum"} 7500
cryptocurrency_price_target_tp2{token="ethereum"} 8000
cryptocurrency_price_target_tp3{token="ethereum"} 9000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published