Skip to content

Comments

Add useragent to headers#34

Merged
Pokom merged 1 commit intomainfrom
fix/add-http-user-agent-header
Mar 11, 2025
Merged

Add useragent to headers#34
Pokom merged 1 commit intomainfrom
fix/add-http-user-agent-header

Conversation

@Pokom
Copy link
Contributor

@Pokom Pokom commented Mar 11, 2025

This adds a configuration option for the RoundTripper that sets the useragent to grafana-kost-estimator. This helps downstream Prometheus instances understand where the queries that are coming from. If the logs are captured by something such as loki, you can easily filter our queries sent to Prometheus by the kost bot.

This adds a configuration option for the RoundTripper that sets the
useragent to `grafana-kost-estimator`. This helps downstream
Prometheus instances understand where the queries that are coming from.
If the logs are captured by something such as loki, you can easily
filter our queries sent to Prometheus by the kost bot.
@Pokom Pokom requested a review from a team as a code owner March 11, 2025 13:16
@Pokom Pokom requested a review from nikimanoledaki March 11, 2025 13:16
@Pokom Pokom enabled auto-merge (squash) March 11, 2025 13:42
Copy link
Contributor

@nikimanoledaki nikimanoledaki left a comment

Choose a reason for hiding this comment

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

🚀

@Pokom Pokom merged commit 4b5b827 into main Mar 11, 2025
2 checks passed
@Pokom Pokom deleted the fix/add-http-user-agent-header branch March 11, 2025 15:08
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