Do not initialize opentelemetry service on an exception

Created on 16 January 2024, 10 months ago

Problem/Motivation

When an exception happens while the opentelemetry service is initializing, it tries to initialize itself to process the exception event.
This produces a "Circular reference detected for service" error.

Proposed resolution

In the ExceptionTraceEventSubscriber instead of activating the opentelemetry service, check if it is activated, and process the exception event only if initialized.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024