From a40e6e5171c54e39c6737aedcfe0a33115b14162 Mon Sep 17 00:00:00 2001 From: linuxarun Date: Wed, 25 May 2022 11:32:24 +0530 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b133f1b..9b3cf47 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # custom-prometheus-exporter -Custom prometheus exporter +Run both the files independently. +Provide logs in the log_file 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