diff --git a/docs/core/diagnostics/metrics-generator.md b/docs/core/diagnostics/metrics-generator.md index e68ec8599ee25..e2323218a9fb5 100644 --- a/docs/core/diagnostics/metrics-generator.md +++ b/docs/core/diagnostics/metrics-generator.md @@ -51,7 +51,7 @@ The following code demonstrates how to use the generator with primitive types: ## Specifying units -You can optionally specify a unit of measurement for your metrics using the `Unit` parameter. This helps provide context about what the metric measures (for example, "seconds", "bytes", and "requests"). The unit is passed to the underlying when creating the instrument. +Starting with .NET 10.2, you can optionally specify a unit of measurement for your metrics using the `Unit` parameter. This helps provide context about what the metric measures (for example, "seconds", "bytes", and "requests"). The unit is passed to the underlying when creating the instrument. The following code demonstrates how to use the generator with primitive types with units specified: diff --git a/docs/core/diagnostics/metrics-strongly-typed.md b/docs/core/diagnostics/metrics-strongly-typed.md index 6f521c9014f5d..15339e5a96d4f 100644 --- a/docs/core/diagnostics/metrics-strongly-typed.md +++ b/docs/core/diagnostics/metrics-strongly-typed.md @@ -80,7 +80,7 @@ In the preceding `MyClass.DoWork` method, a `MetricTags` object is populated wit ## Specifying units -You can optionally specify a unit of measurement for your metrics using the `Unit` parameter. This helps provide context about what the metric measures (for example, "seconds", "bytes", and "requests"). The unit is passed to the underlying when creating the instrument. +Starting with .NET 10.2, you can optionally specify a unit of measurement for your metrics using the `Unit` parameter. This helps provide context about what the metric measures (for example, "seconds", "bytes", and "requests"). The unit is passed to the underlying when creating the instrument. The following code demonstrates how to use the generator with primitive types with units specified: