- Run both the files app.py and prometheus.py independently.
- Provide logs in the log_file specified in prometheus.py in format -> metric=my_custom_metric;label_1=mylabel_1;label_2=my_label_2;
- Additionally, time taken by any metric can be provided in the log above -> metric=my_custom_metric;label_1=mylabel_1;label_2=my_label_2;time_taken=2;
- You can check the metrics on the port and path specified in app.py
forked from linuxarun/custom-prometheus-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
arun-oyo/custom-prometheus-exporter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Custom prometheus exporter
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%