[
https://issues.apache.org/jira/browse/GOBBLIN-2055?focusedWorklogId=916698&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916698
]
ASF GitHub Bot logged work on GOBBLIN-2055:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 26/Apr/24 23:50
Start Date: 26/Apr/24 23:50
Worklog Time Spent: 10m
Work Description: Will-Lo merged PR #3936:
URL: https://github.com/apache/gobblin/pull/3936
Issue Time Tracking
-------------------
Worklog Id: (was: 916698)
Remaining Estimate: 0h
Time Spent: 10m
> Set Opentelemetry to not register global due to conflicting instances
> ---------------------------------------------------------------------
>
> Key: GOBBLIN-2055
> URL: https://issues.apache.org/jira/browse/GOBBLIN-2055
> Project: Apache Gobblin
> Issue Type: Bug
> Reporter: William Lo
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Since GaaS Opentelemetry is still in the early stages and hasn't been rolled
> out service-wide, it should not be configuring the opentelemetry instance as
> global otherwise it can run into the following errors when combined with
> existing servlet infrastructure that uses Opentelemetry as well:
> {code:java}
> Caused by: java.lang.IllegalStateException: GlobalOpenTelemetry.set has
> already been called. GlobalOpenTelemetry.set must be called only once before
> any calls to GlobalOpenTelemetry.get. If you are using the OpenTelemetrySdk,
> use OpenTelemetrySdkBuilder.buildAndRegisterGlobal instead. Previous
> invocation set to cause of this exception. {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)