Closed gbbr closed 1 year ago
@mx-psi Can you confirm that you will be sponsoring this component?
Yes, I will be sponsoring this, but we want to make sure that this is the right choice since we would be the first vendor to have a vendor-specific processor.
Since there are no objections here, I'm going to start working on this.
Since there are no objections here, I'm going to start working on this.
Was this discussed during a SIG meeting?
Since there are no objections here, I'm going to start working on this.
Was this discussed during a SIG meeting?
No, it was not. This component is vendor specific and I sponsored it, but if you have thoughts on the design or approach please comment then now better than later!
Note that it's possible that once connectors are a thing we may want to change this and the spanmetricsprocessor
into connectors instead, but this seemed like the best approach at the time when we were discussing this.
The purpose and use-cases of the new component
Collects pre-sampling trace metrics. Users who wish to use the probabilistic sampler or the tailsamplingprocessor can prepend the "datadog" processor in their pipelines to see the full picture. Please see the example configuration below.
Example configuration for the component
Please note the new
datadog
processor addition.An
exporter_name
setting would also be available if one wishes to use a non-Datadog exporter. Otherwise, thedatadog
processor would automatically detect the presence of the Datadog exporter and use that.Telemetry data types supported
Traces.
Is this a vendor-specific component?
Sponsor (optional)
@mx-psi
Additional context
Why don't you use the spanmetricsprocessor?
While this seems to be the most natural solution, there are some disadvantages and limitations that are blocking it:
Why don't you use two separate pipelines?
One could use two separate pipelines with two separate exporters:
This change involves adding a second exporter, which is fine (considering it is accepted by the community), but raises several difficulties:
batch
processor marks itself as mutating).