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

metrics endpoint include 3scale operator and product version #290

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

eguzki
Copy link
Member

@eguzki eguzki commented Dec 3, 2019

Update the metrics endpoint in the operator to include operator version and 3scale product version:

threescale_version_info{operator_version="0.4.0",version="2.7"} 0

@eguzki eguzki requested a review from miguelsorianod December 3, 2019 16:57
@miguelsorianod
Copy link
Contributor

For what I've read using the global registry is not very recommendable and they recommend creating your own registry over that because the global registry is global state and for some other reasons:
operator-framework/operator-sdk#1426

At the same time operator-sdk though it seemed/seems the operator-sdk used/uses the global registry too so I think what we have now works good enough 👍 . However if you want to take time to look into that up to you.

@eguzki eguzki force-pushed the metrics-endpoint-3scale-info branch from 82972ab to e177417 Compare December 12, 2019 14:14
@eguzki eguzki force-pushed the metrics-endpoint-3scale-info branch from e177417 to 6d7a866 Compare December 12, 2019 14:20
@codeclimate
Copy link

codeclimate bot commented Dec 12, 2019

Code Climate has analyzed commit 6d7a866 and detected 0 issues on this pull request.

View more on Code Climate.

@eguzki eguzki merged commit 9bff709 into master Dec 12, 2019
@eguzki eguzki deleted the metrics-endpoint-3scale-info branch December 12, 2019 15:03
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