patch: set span name as tag#127
Merged
Merged
Conversation
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to da8d849 in 41 seconds. Click for details.
- Reviewed
13lines of code in1files - Skipped
0files when reviewing. - Skipped posting
3draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. internal/telemetry/helpers.go:102
- Draft comment:
Renaming the span attribute key from 'name' to 'operation.name' enhances clarity. Ensure this change is consistent with your telemetry naming conventions and downstream expectations. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%<= threshold50%The comment suggests ensuring consistency with naming conventions and downstream expectations, which is a form of asking the author to double-check their work. This violates the rule against asking the author to ensure behavior is intended or to double-check things.
2. internal/telemetry/helpers.go:65
- Draft comment:
The comment for the WithNewRoot function still refers to 'WithForceNewTrace', which is inconsistent with the function name. Please update the comment to match the function name. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
3. internal/telemetry/helpers.go:712
- Draft comment:
In GetDefaultServiceSpanAttributes, the user ID attribute is set using "user_id" instead of the constant value "user.id" (as defined in SpanTagUserId). Consider using the constant or updating the string for consistency. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
Workflow ID: wflow_CyQJN4MfrL04lSJ6
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Change span attribute key from
nametooperation.nameinStartSpan()inhelpers.go.StartSpan()inhelpers.go, change span attribute key fromnametooperation.namefor OpenTelemetry spans.This description was created by
for da8d849. You can customize this summary. It will automatically update as commits are pushed.