Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error has occurred during metrics gathering #67

Closed
JohnnyQQQQ opened this issue Apr 17, 2019 · 4 comments
Closed

An error has occurred during metrics gathering #67

JohnnyQQQQ opened this issue Apr 17, 2019 · 4 comments

Comments

@JohnnyQQQQ
Copy link

After updating our stateful set in kubernetes the exporter stopped working with the following error:

An error has occurred during metrics gathering:

3 error(s) occurred:
* collected metric nss_chan_subs_last_sent label:<name:"channel" value:"shop.feature.disabled" > label:<name:"client_id" value:"" > label:<name:"server" value:"http://localhost:8222" > gauge:<value:353 >  was collected before with the same name and label values
* collected metric nss_chan_subs_pending_count label:<name:"channel" value:"shop.feature.disabled" > label:<name:"client_id" value:"" > label:<name:"server" value:"http://localhost:8222" > gauge:<value:0 >  was collected before with the same name and label values
* collected metric nss_chan_subs_max_inflight label:<name:"channel" value:"shop.feature.disabled" > label:<name:"client_id" value:"" > label:<name:"server" value:"http://localhost:8222" > gauge:<value:1024 >  was collected before with the same name and label values

We are running nats-streaming v0.14.0 with the exporter as sidecar.

@wallyqs
Copy link
Member

wallyqs commented Apr 17, 2019

Thanks for the report, looks like this might be the same issue that was fixed via #65
Will push a new release with the fix today, sorry about that.

@JohnnyQQQQ
Copy link
Author

JohnnyQQQQ commented Apr 17, 2019

Thank you, didn't check the MRs. Will reopen if the problem persists after the new release.

@JohnnyQQQQ
Copy link
Author

@wallyqs when will the new release approximately land?

@wallyqs
Copy link
Member

wallyqs commented Apr 30, 2019

Sorry for the delay here, have pushed a new version of the exporter where this should be fixed: https://github.com/nats-io/prometheus-nats-exporter/releases/tag/v0.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants