-
Notifications
You must be signed in to change notification settings - Fork 21
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
add pulse metadata flag in PLE user-agent #105
Conversation
@@ -26,6 +26,10 @@ const ( | |||
// OutputDestination Options | |||
outputDestinationCloudWatch = "cloudwatch" | |||
outputDestinationStdout = "stdout" | |||
|
|||
// Pulse EMF config | |||
pulseMetricNamespace = "AWS/APM" |
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.
Would be good to call all these vars and methods awsApm
instead of pulse
. Rest LGTM!
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
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.
Oh interesting.. yeah that would need a bunch of changes on the agent side if thats the case. Please let us know once you hear back Min.
|
||
switch { | ||
case userAgentFlag.isEnhancedContainerInsights && enhancedContainerInsightsEKSPattern.MatchString(logGroupName): | ||
extraStr = "EnhancedEKSContainerInsights" |
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.
nit: these flag strings could be consts
fe0f140
into
amazon-contributing:aws-cwa-dev
… exporter (#32998) **Description:** Cherry-picking from downstream: amazon-contributing#105 This PR adds AppSignals metadata flag in user-agent in EMF exporter, so CWLogs backend can indicate EMF logs request type for the corresponding actions --------- Co-authored-by: Min Xia <[email protected]> Co-authored-by: Jeffrey Chien <[email protected]> Co-authored-by: Vastin <[email protected]>
Description:
Add pulse metadata flag in PLE user-agent in EMF exporter, so CWLogs backend can indicate EMF logs request type for the corresponding actions.
Testing:
UnitTest