你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricDimensionNames.TelemetryContext Class

Definition

Contains constants used to refer to metric dimensions that will be mapped to fields within the TelemetryContext attached to Application Insights metric telemetry item that represents MetricAggregate objects sent to the Application Insights cloud ingestion endpoint.

When a metric has a dimension with this a name that equals to one of the constants defined here, the value of that dimension will not be sent as a regular dimension-value, but as the value of the corresponding field within the telemetry item's TelemetryContext. Note that this applies only to metrics that belong to Application Insights components and that are sent via the Application Insights ingestion endpoint. Metrics sent via other channels are not subject to this transformation.

public static class MetricDimensionNames.TelemetryContext
type MetricDimensionNames.TelemetryContext = class
Public Class MetricDimensionNames.TelemetryContext
Inheritance
MetricDimensionNames.TelemetryContext

Fields

InstrumentationKey

See details about the static class MetricDimensionNames.TelemetryContext for information about this constant.

Applies to