react-scanner
react-scanner copied to clipboard
Feature request: Prometheus text output
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.
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