Skip to content

pavangudiwada/prom-rule-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrometheusRule Generator

A Python based web application to help with creating PrometheusRule custom resources.

Features

  • Auto-generate PrometheusRule YAML
  • Auto-detect Prometheus ruleSelector and ruleNamespaceSelector
  • Add selector labels to YAML by default
  • Auto-detect multiple Prometheus-Operators
  • Switch between multiple operators
  • Check namespaces for ruleNamespaceSelectors

Try it out

  1. Clone the repository
git clone https://github.com/pavangudiwada/prom-rule-editor.git && cd prom-rule-editor
  1. Install dependencies
pip install -r requirements.txt    
  1. Run the web app
streamlit run manual_alert.py
  1. Go to http://localhost:8501

Sample

PrometheusRule Editor in action

About

Python web application to create PrometheusRules for Prometheus Operator

Topics

Resources

Stars

Watchers

Forks

Languages