You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Based on this doc: https://github.com/open-telemetry/opentelemetry-java/tree/main/opencensus-shim. We can export OC metrics by register the MetricsReader as shown in the example:
However as we are using
PrometheusHttpServer
exporter. APrometheusHttpsService
instance is automatically created with service provider: https://github.com/open-telemetry/opentelemetry-java/blob/main/exporters/prometheus/src/main/resources/META-INF/services/io.opentelemetry.sdk.autoconfigure.spi.AutoConfigurationCustomizerProvideronce I introduced the dependency to this module. In that case, I can't get a reference of this
PrometheusHttpsService
. And I also can't create a new one, as it will have port conflict. How can I get the existingPrometheusHttpsService
instance registered?Beta Was this translation helpful? Give feedback.
All reactions