-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[OASIS-12] Allow serializerexporter to consume APM stats #26568
Conversation
// The DD Connector doesn't set the agent version, so we'll set it here | ||
sp.AgentVersion = agentVersion | ||
|
||
// TODO(OASIS-12): send StatsPayload with trace agent |
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.
Will be added in #25759
@@ -180,6 +189,38 @@ func (f *factory) createMetricsExporter( | |||
return sf.CreateMetricsExporter(ctx, set, ex) | |||
} | |||
|
|||
func (f *factory) consumeStatsPayload(ctx context.Context, wg *sync.WaitGroup, statsIn <-chan []byte, tracerVersion string, agentVersion string, logger *zap.Logger) { |
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.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #26568 +/- ##
===========================================
+ Coverage 44.86% 50.01% +5.14%
===========================================
Files 2354 337 -2017
Lines 273093 28262 -244831
===========================================
- Hits 122532 14134 -108398
+ Misses 140887 13388 -127499
+ Partials 9674 740 -8934
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Test changes on VMUse this command from test-infra-definitions to manually test this PR changes on a VM: inv create-vm --pipeline-id=36326688 --os-family=ubuntu |
/merge |
🚂 MergeQueue: pull request added to the queue The median merge time in Use |
What does this PR do?
Add stats in channel to serializerexporter to consume APM stats
Split from #25759
Motivation
Consume and send APM stats from DD connector.
Describe how to test/QA your changes
n/a will be covered in #25759