AndreyVMarkelov / prom-bitbucket-exporter

Prometheus Exporter for Bitbucket
https://marketplace.atlassian.com/plugins/ru.andreymarkelov.atlas.plugins.prom-bitbucket-exporter/server/overview
BSD 2-Clause "Simplified" License
51 stars 21 forks source link

Active Users Gauge shows Negative Value #14

Closed kamrajshahapure closed 5 years ago

kamrajshahapure commented 5 years ago

Hi,

First of all, thanks for the plugin development, it has helped a lot.

I am facing a strange issue. On my Prometheus endpoint I am having a wrong metric for active users guage, here is a screenshot.

image

HELP bitbucket_active_users_gauge Active Users Gauge

TYPE bitbucket_active_users_gauge gauge

bitbucket_active_users_gauge -1.0

for test purpose I have only 2 users right now and both are logged in.

Bitbucket version 5.14.1 and latest jar plugin for Bitbucket from Atlassian marketplace.

AndreyVMarkelov commented 5 years ago

I see. Wjll fix today

ср, 3 окт. 2018 г., 9:53 kamrajshahapure notifications@github.com:

Hi,

First of all, thanks for the plugin development, it has helped a lot.

I am facing a strange issue. On my Prometheus endpoint I am having a wrong metric for active users guage, here is a screenshot.

[image: image] https://user-images.githubusercontent.com/33791474/46393662-c3497280-c703-11e8-8c4a-5b7355d8fb17.png HELP bitbucket_active_users_gauge Active Users Gauge TYPE bitbucket_active_users_gauge gauge

bitbucket_active_users_gauge -1.0

for test purpose I have only 2 users right now and both are logged in.

Bitbucket version 5.14.1 and latest jar plugin for Bitbucket from Atlassian marketplace.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AndreyVMarkelov/prom-bitbucket-exporter/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AB92cIuJmHhzXnIi40IExuhVG-YfCCQWks5uhG0HgaJpZM4XFeuB .

kamrajshahapure commented 5 years ago

@AndreyVMarkelov Thanks, looking forward to it

kamrajshahapure commented 5 years ago

@AndreyVMarkelov Thank you very much for the fix, BTW did you upload the jar on the atlassian Marketplace? because I may not be able to compile this project, importing the jar from marketplace will be a better option.

AndreyVMarkelov commented 5 years ago

Did, but only server. Dc will be in 1 2 weeks. Atlassian complicates this stuff. I need help with dc

чт, 4 окт. 2018 г., 13:00 kamrajshahapure notifications@github.com:

@AndreyVMarkelov https://github.com/AndreyVMarkelov Thank you very much for the fix, BTW did you upload the jar on the atlassian Marketplace? because I may not be able to compile this project, importing the jar from marketplace will be a better option.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AndreyVMarkelov/prom-bitbucket-exporter/issues/14#issuecomment-426975881, or mute the thread https://github.com/notifications/unsubscribe-auth/AB92cNqRnWoFjH1Or3cvSHj6Ma0Modyeks5uheo8gaJpZM4XFeuB .