feat(publish-metrics): run otel tracing for vendor specific reporters #2418
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Integrating the OTel reporter with existing vendor-specific reporters in order to streamline the process for users to send traces to their chosen observability platforms.
Context
OTel reporter provides certain tracing capabilities and features that are not available through original vendor specific reporters, e.g. the support for the Playwright engine.
However, users might not get to experience this due to the following reasons:
Objective
The aim of this PR is to streamline the process for users to send traces to their chosen observability platforms by integrating the OTel reporter with existing vendor-specific reporters.
Implementation
To accomplish this integration, the vendor specific reporters configuration will additionally be passed to the OTel reporter, which will then translate the configuration in the OTel reporter format and run the tracing as per usual.
This way the basic configuration for the user would stay the same with additional settings for the new capabilities.
In this PR OTel tracing is integrated into the following reporters:
Configuration
Honeycomb
Datadog
New Relic
Dynatrace
sendOnlyTraces
is added to all reporters except for Honeycomb as they all send metrics by default, this option enables users to send only traces if they wish to.traces
block, except in Honeycomb. The Honeycomb reporter was since beginning just for traces so no need to nest the settings intraces
blockNotes
Pre-merge checklist