Skip to content

beorn7/promhacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

promhacks

Feel free to use this as a source of inspiration or as a starting point but do not use this in production directly.

  • rules-conv.py: ad-hoc script to convert Prometheus 1.x rules to the Prometheus 2.x YAML format. The automatic conversion with promtool has the problem that it removes comments and formatting. This script makes a lot of assumptions of how you have formatted your rules. It does not parse the Prometheus 1.x rules format. It essentially just kicks stuff around, and if your rules follow all the assumptions it makes, you'll get valid YAML output.

About

Quick & dirty stuff for working with @prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages