Skip to content

Conversation

@ElhoubeBrahim
Copy link
Contributor

Summary

Added documentation for Prometheus authentication flags in the Configuration Options section.

Changes

  • Added 5 new authentication-related flags to the API Command Flags - Prometheus Configuration section:
    • --prometheus-basic-auth-username - HTTP basic authentication username
    • --prometheus-basic-auth-password - HTTP basic authentication password
    • --prometheus-bearer-token-path - Bearer token file path (useful for service account tokens)
    • --tls-client-ca-file - CA certificate file for custom/self-signed certificates
    • --mimir-tenant-ids - Mimir tenant IDs for multi-tenancy support

Why

I spent some time figuring out how to authenticate Pyrra with Prometheus and opened issue #1539 about it. Eventually found these flags in the code but they weren't documented anywhere. This PR adds them to the README so other users don't have to dig through source code.

Copy link
Member

@metalmatze metalmatze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch! Thank you so much!

@metalmatze metalmatze merged commit c781d48 into pyrra-dev:main Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants