Skip to content

Commit

Permalink
feat: export all 5xx metric
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDFiish committed Jan 9, 2025
1 parent 6310714 commit 1fb9e8c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/collector/handler_cdn.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ func (e *CdnExporter) Collect(ch chan<- prometheus.Metric) {
}

for _, data := range cdnResponse.Response.Data[0].CdnData {
if *data.Metric != "566" {
continue
}
ch <- prometheus.MustNewConstMetric(
e.cdnInstance,
prometheus.GaugeValue,
Expand Down

0 comments on commit 1fb9e8c

Please sign in to comment.