Skip to content

Status Dashboard API v2 migration - #21

Closed
bakhterets wants to merge 7 commits into
mainfrom
sd_api_v2_migration
Closed

bakhterets wants to merge 7 commits into
mainfrom
sd_api_v2_migration

Conversation

@bakhterets

@bakhterets bakhterets commented Nov 7, 2025 •

Copy link
Copy Markdown

Summary:

The status reporting workflow in metrics_processor has been updated. Instead of posting component status directly to the v1 endpoint, the reporter now uses the Status Dashboard API v2 and creates incidents.

Changes:

Added fetching of the current component list from the Status Dashboard (/v2/components).

Implemented a cache that maps (component_name + attributes) to a component_id.

Added automatic cache refresh if a component is not found.

Replaced reporting of ComponentStatus to /v1/component_status with sending IncidentData to /v2/incidents.

Added retry logic when fetching components fails.

@bakhterets
bakhterets marked this pull request as draft November 7, 2025 10:07
@bakhterets bakhterets self-assigned this Nov 7, 2025
@bakhterets
bakhterets requested a review from sgmv November 13, 2025 09:56
@bakhterets
bakhterets marked this pull request as ready for review November 13, 2025 09:57
@Aloento

Aloento commented Sep 22, 2026

Copy link
Copy Markdown
Member

#26

@Aloento Aloento closed this Sep 22, 2026
@Aloento
Aloento deleted the sd_api_v2_migration branch September 22, 2026 23:22
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