Skip to content

Commit

Permalink
Add metric request error in log (#4585)
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
  • Loading branch information
sylr committed Sep 21, 2023
1 parent 6accd37 commit 7211a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/telemetry/metrics/providers.go
Expand Up @@ -106,7 +106,7 @@ func newProxyMetricsHandler(exporter *ocprom.Exporter, endpoints []ScrapeEndpoin
scrapeEndpoints(endpoints, labels),
ocExport("pomerium", exporter, r, labels)),
); err != nil {
log.Error(ctx).Msg("responding to metrics request")
log.Error(ctx).Err(err).Msg("responding to metrics request")
}
}
}
Expand Down

0 comments on commit 7211a8d

Please sign in to comment.