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

Add prometheus-client hooks #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add prometheus-client hooks #3

wants to merge 1 commit into from

Conversation

pimvanpelt
Copy link
Contributor

As discussed, a proof of concept of the prometheus-metrics library. This PR is non-intrusive, and gates functionality on the presence of -DMGOS_HAVE_PROMETHEUS_METRICS=1, which will be invoked if the user adds prometheus-metrics to their mos.yml file. Users who do not have this library in their manifest will not see changes in behavior.

The PR will register a callback which will output the MQTT specific metrics.

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