Skip to content

Conversation

@volomas
Copy link
Contributor

@volomas volomas commented Dec 10, 2020

  • add segmentName attribute to Trace annotation
  • if segmentName is provided, use it as subsegment name instead of traced
    method's name

Issue #, if available:

Description of changes:

Checklist

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@volomas volomas force-pushed the custom-segment-name branch from 5acf4d3 to e6bd2a6 Compare December 10, 2020 19:19
* add segmentName attribute to Trace annotation
* if segmentName is provided, use it as subsegment name intead of traced
method's name
@volomas volomas force-pushed the custom-segment-name branch from e6bd2a6 to e02c361 Compare December 10, 2020 19:21
Copy link
Contributor

@pankajagrawal16 pankajagrawal16 left a comment

Choose a reason for hiding this comment

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

Thanks for the change @Skipua . Looks good

@pankajagrawal16 pankajagrawal16 merged commit 2d0e08e into aws-powertools:master Dec 14, 2020
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.

2 participants