Showing off loki + prometheus + rust (rocket)
src | ||
.env | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
Rocket.toml |
Visable Rocket
Adding visability to rocket.rs
In the project you need to specifiy the url that Loki is at.
Then you need to add this project's url to your prometheus config.
scrape_configs:
- job_name: rocket
static_configs:
- targets: ['localhost:8000']