Promgen is a configuration file generator for Prometheus
MIT License
Bot releases are hidden (Show)
Setting for url_writer
changes to prometheus:blackbox
See promgen/tests/examples/promgen.yml
This release adds support for filters for notifications. Alerts can be filtered so that different notification targets can be restricted by label. For example, sending urgent messages directly to LINE but sending less urgent messages to be logged to slack
This version refactors the alert sender queue to better separate
responsibility between components and to provide a more auditable
record of received alerts
This first version implements permissions primarily for common, shared
rules to reduce the chance of accidentally modifying the parent rule.
In the future, permissions will be applied to more objects. Migrations
will automatically create a Default group in the Django admin.
/graph
viewThanks to @seoester and @Tommassino for contributing pull requests and assisting with bug fixes and documentation updates
# These are used for Promgen to automatically trigger a reload on target changes
prometheus:
url: http://prometheus:9090/
version: 2
# Promtool was moved into the prometheus stanza. To skip validation this can
# be set to the path of the 'true' binary
promtool: /usr/local/bin/promtool
# promtool: /usr/bin/true # to disable
# Output rule configuration to this path
rules: /etc/prometheus/promgen.rule.yml
# Or remove .yml for when working with Prometheus 1.x
# rules: /etc/prometheus/promgen.rule
# The old rule_writer format is now unused and can be deleted
#rule_writer:
# path: /etc/prometheus/promgen.rule
# promtool_path: /usr/local/bin/promtool