How to add metric to gateway using post man #465
lakshmisivareddy
started this conversation in
General
Replies: 2 comments
-
Could you explain what you mean by "using post man"? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Above curl you can import in postman. The below content can be your content of the text file /metric
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
i used below command to run the gateway
docker pull prom/pushgateway
docker run -d -p 9091:9091 prom/pushgateway
i am trying to add metrics in below formate
|Metrics Name { Metrics Lables } Metrics Vaule |
Example :
some_metric{job="some_job"} 3.14
i tried below curl command and i am able to add a metric
echo "some_metric 3.14" | curl --data-binary @- http://pushgateway.example.org:9091/metrics/job/some_job
but i was not able to add same metrics using post man
can some one help me with example how to add this metric using post man
Beta Was this translation helpful? Give feedback.
All reactions