Skip to content

Commit d4bbd01

Browse files
authored
[Pre7] Blazor diagnostics API updates (#35772)
1 parent 7e5cf76 commit d4bbd01

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

aspnetcore/blazor/performance/index.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ For more information on the following performance meters, see <xref:log-mon/metr
5656

5757
`Microsoft.AspNetCore.Components` meter:
5858

59-
* `aspnetcore.components.navigation`: Tracks the total number of route changes in the app.
60-
* `aspnetcore.components.event_handler`: Measures the duration of processing browser events, including business logic.
59+
* `aspnetcore.components.navigate`: Tracks the total number of route changes in the app.
60+
* `aspnetcore.components.handle_event.duration`: Measures the duration of processing browser events, including business logic.
6161

6262
`Microsoft.AspNetCore.Components.Lifecycle` meter:
6363

64-
* `aspnetcore.components.update_parameters`: Measures the duration of processing component parameters, including business logic.
65-
* `aspnetcore.components.render_diff`: Tracks the duration of rendering batches.
64+
* `aspnetcore.components.update_parameters.duration`: Measures the duration of processing component parameters, including business logic.
65+
* `aspnetcore.components.render_diff.duration`: Tracks the duration of rendering batches.
66+
* `aspnetcore.components.render_diff.size`: Tracks the size of rendering batches.
6667

6768
`Microsoft.AspNetCore.Components.Server.Circuits` meter:
6869

@@ -80,7 +81,7 @@ The new activity tracing capabilities use the `Microsoft.AspNetCore.Components`
8081

8182
Circuit lifecycle tracing:
8283

83-
`Microsoft.AspNetCore.Components.CircuitStart`: Traces circuit initialization with the format `Circuit {circuitId}`.
84+
`Microsoft.AspNetCore.Components.StartCircuit`: Traces circuit initialization with the format `Circuit {circuitId}`.
8485

8586
Tags:
8687

@@ -96,7 +97,7 @@ Usage: Links other Blazor traces of the same session/circuit to HTTP and SignalR
9697

9798
Navigation tracing:
9899

99-
`Microsoft.AspNetCore.Components.RouteChange`: Tracks route changes with the format `Route {route} -> {componentType}`.
100+
`Microsoft.AspNetCore.Components.Navigate`: Tracks route changes with the format `Route {route} -> {componentType}`.
100101

101102
Tags:
102103

@@ -119,14 +120,12 @@ Event handling tracing:
119120
Tags:
120121

121122
* `aspnetcore.components.attribute.name`: Name of the HTML attribute that triggers the event (example: `onClick`).
122-
* `aspnetcore.components.method`: C# method name of the handler.
123+
* `code.function.name`: C# method name of the handler.
123124
* `aspnetcore.components.type`: Full name of target C# component that receives the event.
124125
* `error.type`: Exception type full name (optional).
125126

126127
Links:
127128

128-
* HTTP trace
129-
* SignalR trace
130129
* Circuit trace
131130
* Route trace
132131

0 commit comments

Comments
 (0)