Skip to content

Commit 0f4a1f4

Browse files
committed
Updates
1 parent 22f30fb commit 0f4a1f4

File tree

2 files changed

+111
-1
lines changed

2 files changed

+111
-1
lines changed

aspnetcore/blazor/performance/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ builder.Services.ConfigureOpenTelemetryTracerProvider(tracerProvider =>
5151

5252
### Performance meters
5353

54+
For more information on the following performance meters, see <xref:log-mon/metrics/built-in>.
55+
5456
`Microsoft.AspNetCore.Components` meter:
5557

5658
* `aspnetcore.components.navigation`: Tracks the total number of route changes in the app.
@@ -71,6 +73,8 @@ In server-side Blazor apps, additional circuit-specific metrics include:
7173

7274
### Blazor tracing
7375

76+
For more information on the following tracing activities, see <xref:log-mon/metrics/built-in>.
77+
7478
The new activity tracing capabilities use the `Microsoft.AspNetCore.Components` activity source and provide three main types of tracing activities: circuit lifecycle, navigation, and event handling.
7579

7680
Circuit lifecycle tracing:

aspnetcore/log-mon/metrics/built-in/includes/built-in10.md

Lines changed: 107 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,113 @@
33
This article describes the metrics built-in for ASP.NET Core produced using the
44
<xref:System.Diagnostics.Metrics?displayProperty=nameWithType> API. For a listing of metrics based on the older [EventCounters](/dotnet/core/diagnostics/event-counters) API, see [Available counters](/dotnet/core/diagnostics/available-counters).
55

6-
See [Using ASP.NET Core metrics](xref:log-mon/metrics/metrics) for information about how to collect, report, enrich, and test ASP.NET Core metrics
6+
For information about how to collect, report, enrich, and test ASP.NET Core metrics, see <xref:log-mon/metrics/metrics>.
7+
8+
## `Microsoft.AspNetCore.Components`
9+
10+
The `Microsoft.AspNetCore.Components` metrics report information on Razor component route changes and browser events:
11+
12+
* [`aspnetcore.components.navigation`](#metric-aspnetcorecomponentsnavigation)
13+
* [`aspnetcore.components.event_handler`](#metric-aspnetcorecomponentsevent_handler)
14+
15+
#### Metric: `aspnetcore.components.navigation`
16+
17+
Name | Instrument Type | Unit (UCUM) | Description
18+
--- | --- | --- | ---
19+
`aspnetcore.components.navigation`<!--](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-aspnetcorecomponentsnavigation)--> | Histogram | `s` | Tracks the total number of route changes in the app.
20+
21+
Attribute | Type | Description | Examples | Presence
22+
--- | --- | --- | --- | ---
23+
xxx | xxx | xxx | xxx | xxx
24+
25+
.
26+
27+
#### Metric: `aspnetcore.components.event_handler`
28+
29+
Name | Instrument Type | Unit (UCUM) | Description
30+
--- | --- | --- | ---
31+
`aspnetcore.components.event_handler`<!--](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-aspnetcorecomponentsevent_handler)--> | Histogram | `s` | Measures the duration of processing browser events, including business logic.
32+
33+
Attribute | Type | Description | Examples | Presence
34+
--- | --- | --- | --- | ---
35+
xxx | xxx | xxx | xxx | xxx
36+
37+
.
38+
39+
## `Microsoft.AspNetCore.Components.Lifecycle`
40+
41+
The `Microsoft.AspNetCore.Components.Lifecycle` metrics report information on Razor component lifecycle events:
42+
43+
* [`aspnetcore.components.update_parameters`](#metric-aspnetcorecomponentsupdate_parameters)
44+
* [`aspnetcore.components.render_diff`](#metric-aspnetcorecomponentsrender_diff)
45+
46+
#### Metric: `aspnetcore.components.update_parameters`
47+
48+
Name | Instrument Type | Unit (UCUM) | Description
49+
--- | --- | --- | ---
50+
`aspnetcore.components.update_parameters`<!--](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-aspnetcorecomponentsupdate_parameters)--> | Histogram | `s` | Measures the duration of processing component parameters, including business logic.
51+
52+
Attribute | Type | Description | Examples | Presence
53+
--- | --- | --- | --- | ---
54+
xxx | xxx | xxx | xxx | xxx
55+
56+
.
57+
58+
#### Metric: `aspnetcore.components.render_diff`
59+
60+
Name | Instrument Type | Unit (UCUM) | Description
61+
--- | --- | --- | ---
62+
`aspnetcore.components.render_diff`<!--](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-aspnetcorecomponentsrender_diff) | Histogram | `s` | Tracks the duration of rendering batches.
63+
64+
Attribute | Type | Description | Examples | Presence
65+
--- | --- | --- | --- | ---
66+
xxx | xxx | xxx | xxx | xxx
67+
68+
.
69+
70+
## `Microsoft.AspNetCore.Components.Server.Circuits`
71+
72+
The `Microsoft.AspNetCore.Components.Server.Circuits` metrics report information on server-side Blazor circuits in Blazor Server and Blazor Web Apps:
73+
74+
* [`aspnetcore.components.circuit.active`](#metric-aspnetcorecomponentscircuitactive)
75+
* [`aspnetcore.components.circuit.connected`](#metric-aspnetcorecomponentscircuitconnected)
76+
* [`aspnetcore.components.circuit.duration`](#metric-aspnetcorecomponentscircuitduration)
77+
78+
#### Metric: `aspnetcore.components.circuit.active`
79+
80+
Name | Instrument Type | Unit (UCUM) | Description
81+
--- | --- | --- | ---
82+
`aspnetcore.components.circuit.active`<!--](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-aspnetcorecomponentscircuitactive)--> | Histogram | `s` | Shows the number of active circuits currently in memory.
83+
84+
Attribute | Type | Description | Examples | Presence
85+
--- | --- | --- | --- | ---
86+
xxx | xxx | xxx | xxx | xxx
87+
88+
.
89+
90+
#### Metric: `aspnetcore.components.circuit.connected`
91+
92+
Name | Instrument Type | Unit (UCUM) | Description
93+
--- | --- | --- | ---
94+
`aspnetcore.components.circuit.connected`<!--](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-aspnetcorecomponentscircuitconnected)--> | Histogram | `s` | Tracks the number of circuits connected to clients.
95+
96+
Attribute | Type | Description | Examples | Presence
97+
--- | --- | --- | --- | ---
98+
xxx | xxx | xxx | xxx | xxx
99+
100+
.
101+
102+
#### Metric: `aspnetcore.components.circuit.duration`
103+
104+
Name | Instrument Type | Unit (UCUM) | Description
105+
--- | --- | --- | ---
106+
`aspnetcore.components.circuit.duration`<!--](https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-http-metrics/#metric-aspnetcorecomponentscircuitduration)--> | Histogram | `s` | Measures circuit lifetime duration and provides total circuit count.
107+
108+
Attribute | Type | Description | Examples | Presence
109+
--- | --- | --- | --- | ---
110+
xxx | xxx | xxx | xxx | xxx
111+
112+
.
7113

8114
## `Microsoft.AspNetCore.Hosting`
9115

0 commit comments

Comments
 (0)