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

Use serializer exporter for sending metrics #37930

Conversation

dineshg13
Copy link
Member

@dineshg13 dineshg13 commented Feb 14, 2025

Description

The PR adds feature-gate exporter.datadogexporter.metricexportserializerclient. When enabled DDexporter would use serializerexporter for exporting metrics

Link to tracking issue

Fixes

Testing

Documentation

@dineshg13 dineshg13 marked this pull request as ready for review February 18, 2025 14:53
@dineshg13 dineshg13 requested a review from a team as a code owner February 18, 2025 14:53
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.

@@ -133,7 +133,7 @@ func (exp *logsExporter) consumeLogs(ctx context.Context, ld plog.Logs) (err err
}
}

payloads := exp.translator.MapLogs(ctx, ld, nil)
payloads := exp.translator.MapLogs(ctx, ld, attributes.NewGatewayUsage())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 rebase or merge main + make gotidy. Otherwise LGTM

dineshg13 and others added 3 commits March 4, 2025 12:26
@songy23
Copy link
Member

songy23 commented Mar 4, 2025

need another rebase / merge main

@songy23 songy23 merged commit 1086901 into open-telemetry:main Mar 4, 2025
156 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants