line / promgen

Promgen is a configuration file generator for Prometheus
https://line.github.io/promgen/
MIT License
1.04k stars 150 forks source link

Use default set of expected_labels #425

Closed kfdm closed 1 year ago

kfdm commented 1 year ago

For Service and Project we have a specific set to test about, but when testing site rules (or potentially other types) there is not an expected set of labels we can test against. We need to still declare default expected_labels sets to avoid a Python error.

I ended up doing a little bit of reformatting as well in this PR, but if it's excessive I can redo this as two commits.