Skip to content

prometheus: add extra_args support for custom prometheus command-line flags#734

Merged
Jetman80 merged 1 commit intomicrodevops-com:masterfrom
djooberlee:master
Feb 25, 2026
Merged

prometheus: add extra_args support for custom prometheus command-line flags#734
Jetman80 merged 1 commit intomicrodevops-com:masterfrom
djooberlee:master

Conversation

@djooberlee
Copy link
Copy Markdown
Contributor

This pull request enhances the flexibility and maintainability of the Prometheus SaltStack configuration. The main improvements are the addition of support for extra Prometheus command-line arguments, the restoration of the retention time setting, and consistent Jinja2 formatting for better readability and maintainability.

Prometheus container enhancements:

  • Added support for an extra_args field in the Prometheus instance configuration, allowing arbitrary command-line flags to be appended to the Prometheus container command (e.g., enabling remote write receiver) (prometheus/pillar.example, prometheus/prometheus.sls). [1] [2]

Jinja2 template consistency and maintainability:

@Jetman80 Jetman80 merged commit 74950ef into microdevops-com:master Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants