Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxarun authored May 25, 2022
1 parent 3d6ab6b commit 1c53fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# custom-prometheus-exporter
1. Run both the files app.py and prometheus.py independently.
2. Provide logs in the log_file in format - metric=my_custom_metric;label_1=mylabel_1;label_2=my_label_2;
3. 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;
2. 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;
3. 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;
4. You can check the metrics on the port and path specified in app.py

0 comments on commit 1c53fca

Please sign in to comment.