Commit ac81fcb
authored
Handle carbonapi expand failures (#348)
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.1 parent ff73cfd commit ac81fcb
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
179 | 186 | | |
180 | 187 | | |
181 | 188 | | |
| |||
0 commit comments