Skip to content

How to add metric to gateway using post man  #463

@lakshmisivareddy

Description

@lakshmisivareddy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions