Contributor
Harkishen Singh

Prometheus: Extending promtool for formatting PromQL expressions and YAML structure in rules files


Mentors
Ganesh Vernekar, Tobias Guggenmos
Organization
Cloud Native Computing Foundation (CNCF)

Prometheus is a monitoring tool that monitors the specified targets, scrapes the system and application metrics at regular intervals, evaluates rules and performs alerting on condition.

This project aims to implement the following features:

  1. Extending promtool in order to support formatting of YAML structure, PromQL expressions in rules files.
  2. Preserving custom comments in PromQL expressions and YAML structure in the rules files.
  3. Spreading PromQL expressions over multiple lines based on conditions, as followed by most linters.
  4. Solve issues related to promtool. (priority and regular)