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

Aws cloud log group name add in trace #1017

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

Conversation

ChristyGKrishnan
Copy link

@ChristyGKrishnan ChristyGKrishnan commented May 24, 2024

Detail description in issue

* `aws_group_name` key in the annotations, when present, sets the AWS CloudWatch log group name.
* It is used to add log details to each trace.
*/
val logGroupValue = allAnnotations.get("aws_group_name")
Copy link
Member

Choose a reason for hiding this comment

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

Is this likely to be the same value for all spans in a given application? Or is it possible to vary on a per-span basis?

If it's going to be the same for all spans in an application, I wonder if it's better set as an option on XRayEntryPoint (perhaps via XRayEnvironment) and then propagated here? Otherwise won't users have to set this every time they want to add a log to a span?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants