Skip to content

Commit

Permalink
graphql-exporter: skip only failed metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Seitanas committed Oct 11, 2023
1 parent 9d6c785 commit 20b4428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func getMetrics() ([]Metric, error) {
metric.Labels, error_in_hash = buildLabelData(val, m)
if error_in_hash != nil {
log.Printf("Got error: %s", error_in_hash)
break
continue
}
metric.Name = metric_prepend + strings.Replace(m.Value, ",", "_", -1)
metrics = append(metrics, metric)
Expand Down

0 comments on commit 20b4428

Please sign in to comment.