-
Notifications
You must be signed in to change notification settings - Fork 308
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
Calculate display summary for span #394
Conversation
@JamesNK Can you also add the semantic conventions for messaging https://opentelemetry.io/docs/specs/semconv/messaging/messaging-spans/
|
ad7b731
to
3ae0c0c
Compare
@@ -45,7 +45,7 @@ | |||
|
|||
<FluentDataGrid Class="trace-view-grid" ResizableColumns="true" ItemsProvider="@GetData" TGridItem="SpanWaterfallViewModel" RowClass="@GetRowClass" GridTemplateColumns="2fr 6fr"> | |||
<TemplateColumn Title="Name"> | |||
<div class="col-long-content" title="@($"{context.Span.Source.ApplicationName}: {context.Span.Name}")"> | |||
<div class="col-long-content" title="@($"{context.Span.Source.ApplicationName}: {context.GetDisplaySummary()}")"> |
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.
Is there a tooltip for this thing?
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.
Yes. title = tooltip
Ship it! |
Fixes #312
Note: There isn't a friendly "statement" for database calls. For example, postgres adds the entire SQL string to the span statement. I used the span name instead.