You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "acherla (via GitHub)" <gi...@apache.org> on 2023/03/13 02:31:58 UTC

[GitHub] [druid] acherla opened a new issue, #13924: opentelemetry-emitter fails on startup (all druid services)

acherla opened a new issue, #13924:
URL: https://github.com/apache/druid/issues/13924

   opentelemetry-emitter fails to load on startup when added to the load-list when starting up druid with the documented configuration.
   
   ```
   Exception in thread "main" java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors:
   
   1) No implementation for org.apache.druid.java.util.emitter.core.Emitter annotated with @com.google.inject.name.Named(value=opentelemetry-emitter) was bound.
     while locating org.apache.druid.java.util.emitter.core.Emitter annotated with @com.google.inject.name.Named(value=opentelemetry-emitter)
     at org.apache.druid.server.emitter.EmitterModule.getServiceEmitter(EmitterModule.java:104) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.emitter.EmitterModule)
     at org.apache.druid.server.emitter.EmitterModule.getServiceEmitter(EmitterModule.java:104) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.emitter.EmitterModule)
     while locating org.apache.druid.java.util.emitter.service.ServiceEmitter
       for the 4th parameter of org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:110)
     at org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:110) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
     while locating org.apache.druid.java.util.metrics.MonitorScheduler
     at org.apache.druid.server.metrics.MetricsModule.configure(MetricsModule.java:95) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
     while locating org.apache.druid.java.util.metrics.MonitorScheduler annotated with @com.google.inject.name.Named(value=ForTheEagerness)
   
   1 error
           at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:88)
           at org.apache.druid.cli.ServerRunnable.run(ServerRunnable.java:62)
           at org.apache.druid.cli.Main.main(Main.java:112)
   Caused by: com.google.inject.CreationException: Unable to create injector, see the following errors:
   
   1) No implementation for org.apache.druid.java.util.emitter.core.Emitter annotated with @com.google.inject.name.Named(value=opentelemetry-emitter) was bound.
     while locating org.apache.druid.java.util.emitter.core.Emitter annotated with @com.google.inject.name.Named(value=opentelemetry-emitter)
     at org.apache.druid.server.emitter.EmitterModule.getServiceEmitter(EmitterModule.java:104) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.emitter.EmitterModule)
     at org.apache.druid.server.emitter.EmitterModule.getServiceEmitter(EmitterModule.java:104) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.emitter.EmitterModule)
     while locating org.apache.druid.java.util.emitter.service.ServiceEmitter
       for the 4th parameter of org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:110)
     at org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:110) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
     while locating org.apache.druid.java.util.metrics.MonitorScheduler
     at org.apache.druid.server.metrics.MetricsModule.configure(MetricsModule.java:95) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
     while locating org.apache.druid.java.util.metrics.MonitorScheduler annotated with @com.google.inject.name.Named(value=ForTheEagerness)
   
   1 error
           at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)
           at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)
           at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
           at com.google.inject.Guice.createInjector(Guice.java:99)
           at com.google.inject.Guice.createInjector(Guice.java:73)
           at com.google.inject.Guice.createInjector(Guice.java:62)
           at org.apache.druid.initialization.ExtensionInjectorBuilder.build(ExtensionInjectorBuilder.java:49)
           at org.apache.druid.initialization.ServerInjectorBuilder.build(ServerInjectorBuilder.java:118)
           at org.apache.druid.initialization.ServerInjectorBuilder.makeServerInjector(ServerInjectorBuilder.java:73)
           at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:85)
           ... 2 more
   ```
   
   ### Affected Version
   
   25.0.0
   
   ### Description
   
   Configuration in common.runtime.properties
   
   ```
   druid.monitoring.monitors=["org.apache.druid.java.util.metrics.JvmMonitor","org.apache.druid.java.util.metrics.JvmCpuMonitor","org.apache.druid.java.util.metrics.JvmThreadsMonitor"]
   druid.emitter=composing
   druid.emitter.composing.emitters=["prometheus","opentelemetry-emitter"]
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] acherla commented on issue #13924: opentelemetry-emitter fails on startup (all druid services) - Druid Version 25.0.0

Posted by "acherla (via GitHub)" <gi...@apache.org>.
acherla commented on issue #13924:
URL: https://github.com/apache/druid/issues/13924#issuecomment-1467965969

   export OTEL_SERVICE_NAME="org.apache.druid"
   export OTEL_TRACES_SAMPLER="traceidratio"
   export OTEL_TRACES_SAMPLER_ARG="0.2"
   export OTEL_EXPORTER_OTLP_TRACES_HEADERS="Authorization={{aether_authorization}}"
   export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT={{aether_endpoint}}
   export OTEL_TRACES_EXPORTER=zipkin
   export OTEL_METRICS_EXPORTER=none
   export OTEL_LOGS_EXPORTER=none


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] opentelemetry-emitter fails on startup (all druid services) - Druid Version 25.0.0 (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13924:
URL: https://github.com/apache/druid/issues/13924#issuecomment-1996170393

   This issue has been closed due to lack of activity. If you think that
   is incorrect, or the issue requires additional review, you can revive the issue at
   any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] opentelemetry-emitter fails on startup (all druid services) - Druid Version 25.0.0 (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13924: opentelemetry-emitter fails on startup (all druid services) - Druid Version 25.0.0
URL: https://github.com/apache/druid/issues/13924


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] xvrl commented on issue #13924: opentelemetry-emitter fails on startup (all druid services) - Druid Version 25.0.0

Posted by "xvrl (via GitHub)" <gi...@apache.org>.
xvrl commented on issue #13924:
URL: https://github.com/apache/druid/issues/13924#issuecomment-1539243548

   cc @IvanVan 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] opentelemetry-emitter fails on startup (all druid services) - Druid Version 25.0.0 (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13924:
URL: https://github.com/apache/druid/issues/13924#issuecomment-1942889344

   This issue has been marked as stale due to 280 days of inactivity.
   It will be closed in 4 weeks if no further activity occurs. If this issue is still
   relevant, please simply write any comment. Even if closed, you can still revive the
   issue at any time or discuss it on the dev@druid.apache.org list.
   Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org