Skip to content

Conversation

alexander-akhmetov
Copy link
Contributor

@alexander-akhmetov alexander-akhmetov commented Feb 26, 2025

Adding support for --extra-headers to the cortextool rules commands, similar to the existing parameter in mimirtool.

This is needed for the new APIs in Grafana (example PR), which will allow loading rules with mimirtool and cortextool and converting them to Grafana rules. These APIs need some additional headers that can be currently set with mimirtool but not with cortextool.

Part of https://github.com/grafana/alerting-squad/issues/1031

@alexander-akhmetov alexander-akhmetov force-pushed the alexander-akhmetov/extra-headers branch 2 times, most recently from 11d1f4a to 3df6428 Compare February 26, 2025 18:03
@alexander-akhmetov alexander-akhmetov force-pushed the alexander-akhmetov/extra-headers branch from 3df6428 to 9b13fd0 Compare February 26, 2025 18:08
@alexander-akhmetov alexander-akhmetov marked this pull request as ready for review February 26, 2025 20:34
@alexander-akhmetov alexander-akhmetov requested a review from a team as a code owner February 26, 2025 20:34
Copy link
Contributor

@stevesg stevesg left a comment

Choose a reason for hiding this comment

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

LGTM but we'll need someone in @grafana/cortex-team to approve

@stevesg
Copy link
Contributor

stevesg commented Feb 27, 2025

Ah no worries actually, I can merge.

@stevesg stevesg merged commit e3ec67f into main Feb 27, 2025
4 checks passed
@stevesg stevesg deleted the alexander-akhmetov/extra-headers branch February 27, 2025 09:30
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