Generate json/yaml data #543
Locked
TheNetAdmin
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
It's already possible to output json data 🙂 Here's all supported output formats: metrics/source/plugins/core/metadata.yml Lines 194 to 206 in f38f905 Note that resulting json scheme is not always consistant between versions (some stuff get moved around) so be sure to tag a version when reusing these data somewhere else. Also, the output still depends on which plugins are enabled, so if you want to collect data from a specific plugin, it is still required to enable it and to configure it |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it would be great if metrics can generate a json or yaml data file containing all the info used to generate the svg file. In this way, we can reuse metrics' data for other purposes.
I guess there is such a data structure when metrics is generating the svg file, so maybe just dump that into a json file? This is just my elementary guess.
Beta Was this translation helpful? Give feedback.
All reactions