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

exporters/glance: bugfix image_bytes when slow metrics are disabled #252

Conversation

parsa97
Copy link
Contributor

@parsa97 parsa97 commented Sep 15, 2022

when set option disabled slow metric disabled exporter try to create some metric for prometheus in
exporter.Metrics["images_bytes"] which is not exist if slow metrics are disabled

in version 1.6.0 this problem cause panic if slow metrics is set to disabled

Signed-off-by: Parsa [email protected]

when set option `disabled slow metric` disabled exporter
try to create some metric for prometheus in
exporter.Metrics["images_bytes"] which is not exist
if slow metrics are disabled

in version 1.6.0 this problem cause panic if slow metrics
is set to disabled

Signed-off-by: Parsa <[email protected]>
@parsa97 parsa97 force-pushed the glance-image_bytes-fix-slow-metric branch from 65f9f68 to d23917e Compare September 16, 2022 11:48
@parsa97 parsa97 mentioned this pull request Sep 17, 2022
@niedbalski niedbalski merged commit c87c26b into openstack-exporter:main Oct 7, 2022
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

Successfully merging this pull request may close these issues.

2 participants