efigence / yabeda-grape

Extensible metrics for monitoring Grape API endpoints
4 stars 1 forks source link

Not work currently? #7

Closed thekevin-cisco closed 4 years ago

thekevin-cisco commented 4 years ago

When trying to hit an existing working endpoint after enabling yabeda-grape:

{"response_type":"error","details":"Prometheus requires all used tags to be declared at metric registration time. Please add `tags` option to the declaration of metric `grape_requests_total`. Error: labels must have the same signature (keys given: [:method, :path, :status] vs. keys expected: []"}

Is there something more we need to do to get this to work?

Prorok64b commented 4 years ago

@kevine-voicera version 0.1.1 should works, but also you can try 0.1.2. I added metric tags there. It was tested with "prometheus-2.12.0.linux-amd64".