-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce datadogsemanticsprocessor component with mappings for OTLP-… #36918
base: main
Are you sure you want to change the base?
Introduce datadogsemanticsprocessor component with mappings for OTLP-… #36918
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to fix codeowner, package import and lint
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
…>DD trace semantics
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
42a7aff
to
7879002
Compare
// Copyright The OpenTelemetry Authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package datadogsemanticsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/datadogsemanticsprocessor" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be rename to trace_processor.go ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm planning on adding log and metric processing to this file as well in future commits, following the pattern used by other processors
…>DD trace semantics
Description
This PR introduces a new component,
datadogsemanticsprocessor
. See linked issue for more information.This first iteration only performs the semantic mapping for traces - logs and metrics will be added in followup PRs.
Future versions will also add more attributes to the mapping.
Link to tracking issue
#35304
Testing
Ran unit tests, ran collector with datadogsemanticsprocessor in trace pipeline and verified that
datadog.
prefixed fields are outputted as expected.Documentation
Added changelog. OTLP->DD semantic mappings are documented on this public facing document.