clj-otel

frank 2022-05-09T19:00:13.930849Z

Has anyone had any experiences with the instrumentation agent increasing startup times significantly? It doesn't seem to make a difference on my laptop, but application startup time in AWS fargate has increased significantly. I've worked around this for now by setting OTEL_INSTRUMENTATION_COMMON_DEFAULT_ENABLED=false and then opting into each of the instrumentation types individually, which seems to help. It still takes longer to start up than without the agent, but it's something.

steffan 2022-05-09T21:15:35.595969Z

For questions on OpenTelemetry not specific to clj-otel, you'll be more likely to get help in one of the OpenTelemetry channels in the CNCF Slack. I suggest #otel-java-instrumentation or #otel-java. See details about the Slack here : https://opentelemetry.io/community/

1
Louise Klodt 2022-09-11T08:24:53.823869Z

Hi @frank, we're experiencing the same issue with increased start-up times after adding the auto-instrumentation agent to our Clojure apps. Disabling defaults and enabling only what is needed (as you suggested above), did help to reduce the start-up times back to sane levels. Another option is to ditch the auto-agent and manually instrument, though that comes with obvious other trade-offs.

👍 1