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

feat: toolkit span add event impl #200

Merged
merged 5 commits into from
Sep 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: lint
Signed-off-by: shyunny <[email protected]>
ShyunnY committed Sep 2, 2024
commit ac3de4555411e9e10e35515dcf5fee1036cf972e
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ func (h *AsyncAddEventInterceptor) AfterInvoke(invocation operator.Invocation, _
s := enhanced.GetSkyWalkingDynamicField().(tracing.Span)
et := invocation.Args()[0].(trace.EventType)
event := invocation.Args()[1].(string)
if len(event) == 0 {
if event == "" {
event = defaultEventMsg
}
s.Log(string(et), event)
Loading