Skip to content

Jaeger Agent metrics not returned #738

@ledor473

Description

@ledor473

As per the documentation the Jaeger Agent should expose some metrics properly formatted for Prometheus on :5778/metrics

The Agent is started using:

docker run \
  --rm \
  -p5775:5775/udp \
  -p6831:6831/udp \
  -p6832:6832/udp \
  -p5778:5778/tcp \
  jaegertracing/jaeger-agent:1.2 \
  /go/bin/agent-linux --collector.host-port=my-collector:some-port

And I tried to retrieve the metrics using:

 curl -v localhost:5778/metrics
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 5778 (#0)
> GET /metrics HTTP/1.1
> Host: localhost:5778
> User-Agent: curl/7.54.0
> Accept: */*
> 
< HTTP/1.1 400 Bad Request
< Content-Type: text/plain; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Wed, 14 Mar 2018 15:35:50 GMT
< Content-Length: 42
< 
'service' parameter must be provided once

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions