Skip to content

Commit

Permalink
fix: obsy prometheus exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtaba-esk committed Nov 14, 2024
1 parent c730164 commit b31395f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sidecars/observability/otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func (o *Obsy) createExporters() Exporters {
exporters.Jaeger = o.createJaegerExporter()
}

if o.obsyConfig.prometheusEndpointPort != 0 {
if o.obsyConfig.prometheusExporterEndpoint != "" {
exporters.Prometheus = o.createPrometheusExporter()
}

Expand Down

0 comments on commit b31395f

Please sign in to comment.