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

Feature request: Prometheus text output #53

Open
mrmartan opened this issue Sep 1, 2022 · 1 comment
Open

Feature request: Prometheus text output #53

mrmartan opened this issue Sep 1, 2022 · 1 comment

Comments

@mrmartan
Copy link

mrmartan commented Sep 1, 2022

Rather than having a custom json report output it would be useful to have the option to output the statistics in a prometheus compatible format. Then treat the metrics themselves as prometheus counters. That would give users the ability to store, aggregate, query and graph the data ober time and in larger organisations with many projects.

@mrmartan mrmartan changed the title Prometheus text output Sep 1, 2022
@mrmartan
Copy link
Author

mrmartan commented Sep 1, 2022

For example:

{
  "Text": 10,
  "Button": 5,
  "Link": 3
}  

would become

component_count{component_name="Text"} 10
component_count{component_name="Button"} 5
component_count{component_name="Link"} 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant