Skip to content

How to add metric to gateway using post man  #463

Closed

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

Activity

  1. locked and limited conversation to collaborators on Apr 26, 2022
  2. converted this issue into a discussion #465 on Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions