|
6 | 6 | - ref: aspnetcore.rate_limiting.policy |
7 | 7 | requirement_level: |
8 | 8 | conditionally_required: if the matched endpoint for the request had a rate-limiting policy. |
| 9 | + - id: aspnetcore.common.memory_pool.metrics.attributes |
| 10 | + type: attribute_group |
| 11 | + brief: Common ASP.NET Core memory pool metrics attributes |
| 12 | + attributes: |
| 13 | + - ref: aspnetcore.memory_pool.owner |
| 14 | + requirement_level: |
| 15 | + conditionally_required: if owner is specified when the memory pool is created. |
9 | 16 |
|
10 | 17 | # routing |
11 | 18 | - id: metric.aspnetcore.routing.match_attempts |
@@ -135,3 +142,60 @@ groups: |
135 | 142 | attributes: |
136 | 143 | - ref: aspnetcore.rate_limiting.result |
137 | 144 | requirement_level: required |
| 145 | + |
| 146 | + # memory_pool |
| 147 | + - id: metric.aspnetcore.memory_pool.current_memory |
| 148 | + type: metric |
| 149 | + metric_name: aspnetcore.memory_pool.current_memory |
| 150 | + annotations: |
| 151 | + code_generation: |
| 152 | + metric_value_type: int |
| 153 | + stability: development |
| 154 | + brief: Number of bytes that are currently pooled by the pool. |
| 155 | + instrument: updowncounter |
| 156 | + unit: "By" |
| 157 | + note: | |
| 158 | + Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0 |
| 159 | + extends: aspnetcore.common.memory_pool.metrics.attributes |
| 160 | + |
| 161 | + - id: metric.aspnetcore.memory_pool.total_allocated |
| 162 | + type: metric |
| 163 | + metric_name: aspnetcore.memory_pool.total_allocated |
| 164 | + annotations: |
| 165 | + code_generation: |
| 166 | + metric_value_type: int |
| 167 | + stability: development |
| 168 | + brief: Total number of allocations made by the pool. |
| 169 | + instrument: counter |
| 170 | + unit: "By" |
| 171 | + note: | |
| 172 | + Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0 |
| 173 | + extends: aspnetcore.common.memory_pool.metrics.attributes |
| 174 | + |
| 175 | + - id: metric.aspnetcore.memory_pool.evicted_memory |
| 176 | + type: metric |
| 177 | + metric_name: aspnetcore.memory_pool.evicted_memory |
| 178 | + annotations: |
| 179 | + code_generation: |
| 180 | + metric_value_type: int |
| 181 | + stability: development |
| 182 | + brief: Total number of bytes that have been evicted. |
| 183 | + instrument: counter |
| 184 | + unit: "By" |
| 185 | + note: | |
| 186 | + Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0 |
| 187 | + extends: aspnetcore.common.memory_pool.metrics.attributes |
| 188 | + |
| 189 | + - id: metric.aspnetcore.memory_pool.total_rented |
| 190 | + type: metric |
| 191 | + metric_name: aspnetcore.memory_pool.total_rented |
| 192 | + annotations: |
| 193 | + code_generation: |
| 194 | + metric_value_type: int |
| 195 | + stability: development |
| 196 | + brief: Total number of rented bytes from the pool. |
| 197 | + instrument: counter |
| 198 | + unit: "By" |
| 199 | + note: | |
| 200 | + Meter name: `Microsoft.AspNetCore.MemoryPool`; Added in: ASP.NET Core 10.0 |
| 201 | + extends: aspnetcore.common.memory_pool.metrics.attributes |
0 commit comments