Showing off loki + prometheus + rust (rocket)
Go to file
2024-10-10 23:40:00 +00:00
src more telemetry 2024-10-10 23:40:00 +00:00
.env init 2024-10-10 12:49:19 -06:00
.gitignore init 2024-10-10 12:49:19 -06:00
Cargo.lock init 2024-10-10 12:49:19 -06:00
Cargo.toml init 2024-10-10 12:49:19 -06:00
README.md init 2024-10-10 12:49:19 -06:00
Rocket.toml more telemetry 2024-10-10 23:40:00 +00:00

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']