Skip to content
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

Open
wants to merge 36 commits into
base: main
Choose a base branch
from

Conversation

IbraheemA
Copy link
Contributor

…>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.

@IbraheemA IbraheemA requested a review from a team as a code owner December 20, 2024 20:27
@IbraheemA IbraheemA requested a review from songy23 December 20, 2024 20:27
@songy23 songy23 requested a review from dineshg13 December 23, 2024 15:15
Copy link
Member

@songy23 songy23 left a 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

Copy link
Contributor

github-actions bot commented Jan 7, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 7, 2025
@songy23 songy23 added Accepted Component New component has been sponsored and removed Stale labels Jan 7, 2025
@github-actions github-actions bot added the cmd/otelcontribcol otelcontribcol command label Jan 7, 2025
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 29, 2025
@songy23 songy23 added never stale Issues marked with this label will be never staled and automatically removed and removed Stale labels Jan 29, 2025
@IbraheemA IbraheemA force-pushed the ibraheem/traces-only-dd-semantic-processor branch from 42a7aff to 7879002 Compare February 5, 2025 20:32
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

package datadogsemanticsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/datadogsemanticsprocessor"
Copy link
Member

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 ?

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Component New component has been sponsored cmd/otelcontribcol otelcontribcol command never stale Issues marked with this label will be never staled and automatically removed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants