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

Enum metric type not supported #163

Open
Jean-PhilippeD opened this issue Nov 2, 2023 · 2 comments
Open

Enum metric type not supported #163

Jean-PhilippeD opened this issue Nov 2, 2023 · 2 comments

Comments

@Jean-PhilippeD
Copy link

Hello,

It seems Enum is not supported, or I'm using it the wrong way ?

@rycus86
Copy link
Owner

rycus86 commented Nov 2, 2023

No, you're not wrong. I haven't seen that before, sounds like we should add support.
I'd be happy to review a PR for this if you'd like to attempt it?

@Jean-PhilippeD
Copy link
Author

Hi,
I think I will not be able to make a PR, I'd like but I lack of time for the moment and I'm new to flask_prometheus_exporter so I would need more times to understand how it works.
Maybe you can help me to understand how metric from python client works within the flask exporter..

For now I think I will use a gauge and map a numeric value to a string value.

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