Skip to content

Commit 1190677

Browse files
committed
Fix
1 parent 9a12e1d commit 1190677

File tree

1 file changed

+113
-0
lines changed

1 file changed

+113
-0
lines changed

docs/dotnet/dotnet-aspnetcore-metrics.md

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ This article defines semantic conventions for ASP.NET Core metrics.
2121
- [Metric: `aspnetcore.rate_limiting.queued_requests`](#metric-aspnetcorerate_limitingqueued_requests)
2222
- [Metric: `aspnetcore.rate_limiting.request.time_in_queue`](#metric-aspnetcorerate_limitingrequesttime_in_queue)
2323
- [Metric: `aspnetcore.rate_limiting.requests`](#metric-aspnetcorerate_limitingrequests)
24+
- [Memory pool](#memory-pool)
25+
- [Metric: `aspnetcore.memory_pool.current_memory`](#metric-aspnetcorememory_poolcurrent_memory)
26+
- [Metric: `aspnetcore.memory_pool.evicted_memory`](#metric-aspnetcorememory_poolevicted_memory)
27+
- [Metric: `aspnetcore.memory_pool.total_allocated`](#metric-aspnetcorememory_pooltotal_allocated)
28+
- [Metric: `aspnetcore.memory_pool.total_rented`](#metric-aspnetcorememory_pooltotal_rented)
2429

2530
<!-- tocstop -->
2631

@@ -310,4 +315,112 @@ Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0
310315
<!-- END AUTOGENERATED TEXT -->
311316
<!-- endsemconv -->
312317

318+
## Memory pool
319+
320+
All memory pool metrics are reported by the `Microsoft.AspNetCore.MemoryPool` meter.
321+
322+
### Metric: `aspnetcore.memory_pool.current_memory`
323+
324+
<!-- semconv metric.aspnetcore.memory_pool.current_memory -->
325+
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
326+
<!-- see templates/registry/markdown/snippet.md.j2 -->
327+
<!-- prettier-ignore-start -->
328+
<!-- markdownlint-capture -->
329+
<!-- markdownlint-disable -->
330+
331+
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
332+
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
333+
| `aspnetcore.memory_pool.current_memory` | UpDownCounter | `By` | Number of bytes that are currently pooled by the pool. [1] | ![Development](https://img.shields.io/badge/-development-blue) | |
334+
335+
**[1]:** Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0
336+
337+
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
338+
|---|---|---|---|---|---|
339+
| [`aspnetcore.memory_pool.owner`](/docs/registry/attributes/aspnetcore.md) | string | The name of part of the app using the pool instance. | `Sockets`; `NamedPipes` | `Conditionally Required` [1] | ![Development](https://img.shields.io/badge/-development-blue) |
340+
341+
**[1] `aspnetcore.memory_pool.owner`:** if owner is specified when the memory pool is created.
342+
343+
<!-- markdownlint-restore -->
344+
<!-- prettier-ignore-end -->
345+
<!-- END AUTOGENERATED TEXT -->
346+
<!-- endsemconv -->
347+
348+
### Metric: `aspnetcore.memory_pool.evicted_memory`
349+
350+
<!-- semconv metric.aspnetcore.memory_pool.evicted_memory -->
351+
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
352+
<!-- see templates/registry/markdown/snippet.md.j2 -->
353+
<!-- prettier-ignore-start -->
354+
<!-- markdownlint-capture -->
355+
<!-- markdownlint-disable -->
356+
357+
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
358+
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
359+
| `aspnetcore.memory_pool.evicted_memory` | Counter | `By` | Total number of bytes that have been evicted. [1] | ![Development](https://img.shields.io/badge/-development-blue) | |
360+
361+
**[1]:** Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0
362+
363+
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
364+
|---|---|---|---|---|---|
365+
| [`aspnetcore.memory_pool.owner`](/docs/registry/attributes/aspnetcore.md) | string | The name of part of the app using the pool instance. | `Sockets`; `NamedPipes` | `Conditionally Required` [1] | ![Development](https://img.shields.io/badge/-development-blue) |
366+
367+
**[1] `aspnetcore.memory_pool.owner`:** if owner is specified when the memory pool is created.
368+
369+
<!-- markdownlint-restore -->
370+
<!-- prettier-ignore-end -->
371+
<!-- END AUTOGENERATED TEXT -->
372+
<!-- endsemconv -->
373+
374+
### Metric: `aspnetcore.memory_pool.total_allocated`
375+
376+
<!-- semconv metric.aspnetcore.memory_pool.total_allocated -->
377+
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
378+
<!-- see templates/registry/markdown/snippet.md.j2 -->
379+
<!-- prettier-ignore-start -->
380+
<!-- markdownlint-capture -->
381+
<!-- markdownlint-disable -->
382+
383+
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
384+
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
385+
| `aspnetcore.memory_pool.total_allocated` | Counter | `By` | Total number of allocations made by the pool. [1] | ![Development](https://img.shields.io/badge/-development-blue) | |
386+
387+
**[1]:** Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0
388+
389+
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
390+
|---|---|---|---|---|---|
391+
| [`aspnetcore.memory_pool.owner`](/docs/registry/attributes/aspnetcore.md) | string | The name of part of the app using the pool instance. | `Sockets`; `NamedPipes` | `Conditionally Required` [1] | ![Development](https://img.shields.io/badge/-development-blue) |
392+
393+
**[1] `aspnetcore.memory_pool.owner`:** if owner is specified when the memory pool is created.
394+
395+
<!-- markdownlint-restore -->
396+
<!-- prettier-ignore-end -->
397+
<!-- END AUTOGENERATED TEXT -->
398+
<!-- endsemconv -->
399+
400+
### Metric: `aspnetcore.memory_pool.total_rented`
401+
402+
<!-- semconv metric.aspnetcore.memory_pool.total_rented -->
403+
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
404+
<!-- see templates/registry/markdown/snippet.md.j2 -->
405+
<!-- prettier-ignore-start -->
406+
<!-- markdownlint-capture -->
407+
<!-- markdownlint-disable -->
408+
409+
| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
410+
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
411+
| `aspnetcore.memory_pool.total_rented` | Counter | `By` | Total number of rented bytes from the pool. [1] | ![Development](https://img.shields.io/badge/-development-blue) | |
412+
413+
**[1]:** Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0
414+
415+
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
416+
|---|---|---|---|---|---|
417+
| [`aspnetcore.memory_pool.owner`](/docs/registry/attributes/aspnetcore.md) | string | The name of part of the app using the pool instance. | `Sockets`; `NamedPipes` | `Conditionally Required` [1] | ![Development](https://img.shields.io/badge/-development-blue) |
418+
419+
**[1] `aspnetcore.memory_pool.owner`:** if owner is specified when the memory pool is created.
420+
421+
<!-- markdownlint-restore -->
422+
<!-- prettier-ignore-end -->
423+
<!-- END AUTOGENERATED TEXT -->
424+
<!-- endsemconv -->
425+
313426
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

0 commit comments

Comments
 (0)