Skip to content

Conversation

@alexander-akhmetov
Copy link
Contributor

@alexander-akhmetov alexander-akhmetov commented Aug 1, 2025

What is this feature?

Adds support for JSON responses to the reading Prometheus conversion API:

  • /convert/prometheus/config/v1/rules
  • /convert/prometheus/config/v1/rules/:namespaceTitle
  • /convert/prometheus/config/v1/rules/:namespaceTitle/:groupName

By default they respond in YAML format, but if the Accept: application/json header is specified, the response is in JSON.

@github-project-automation github-project-automation bot moved this to In review in Alerting Aug 1, 2025
@alexander-akhmetov alexander-akhmetov added the no-changelog Skip including change in changelog/release notes label Aug 1, 2025
@alexander-akhmetov alexander-akhmetov force-pushed the alexander-akhmetov/convert-api-json branch from 3c2841b to 53c5eba Compare August 1, 2025 17:31
@alexander-akhmetov alexander-akhmetov added add to changelog and removed no-changelog Skip including change in changelog/release notes labels Aug 1, 2025
@alexander-akhmetov alexander-akhmetov marked this pull request as ready for review August 1, 2025 18:00
@alexander-akhmetov alexander-akhmetov requested a review from a team as a code owner August 1, 2025 18:00
cursor[bot]

This comment was marked as outdated.

@alexander-akhmetov alexander-akhmetov force-pushed the alexander-akhmetov/convert-api-json branch from 53c5eba to c943548 Compare August 1, 2025 18:10
@alexander-akhmetov alexander-akhmetov force-pushed the alexander-akhmetov/convert-api-json branch from c943548 to 5c442d4 Compare August 1, 2025 18:11
Copy link
Contributor

@yuri-tceretian yuri-tceretian left a comment

Choose a reason for hiding this comment

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

LGTM

@alexander-akhmetov alexander-akhmetov merged commit eb3a457 into main Aug 1, 2025
103 checks passed
@alexander-akhmetov alexander-akhmetov deleted the alexander-akhmetov/convert-api-json branch August 1, 2025 19:15
@github-project-automation github-project-automation bot moved this from In review to Done in Alerting Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants