Skip to content

Handle carbonapi expand failures#348

Merged
lippserd merged 1 commit into
mainfrom
carbonapi-500
Jun 22, 2026
Merged

Handle carbonapi expand failures#348
lippserd merged 1 commit into
mainfrom
carbonapi-500

Conversation

@lippserd

Copy link
Copy Markdown
Member

Treat carbonapi backend 500 responses during metrics expansion as empty result sets. This keeps template probing from failing the whole graph render when older go-carbon releases return 500 instead of 404 for missing carbonserver find results.

go-carbon releases up to v0.19.1 can return HTTP 500 instead of 404 for
missing carbonserver find results. carbonapi cannot apply notFoundStatusCode
normalization in that case, so metrics/expand surfaces the backend failure.

Treat those template-probing failures like an empty match set so unrelated
templates can still render.
@lippserd lippserd added this to the 1.3.1 milestone Jun 22, 2026
@cla-bot cla-bot Bot added the cla/signed label Jun 22, 2026
@lippserd lippserd merged commit ac81fcb into main Jun 22, 2026
13 checks passed
@lippserd lippserd deleted the carbonapi-500 branch June 22, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant