NetworkMetricsOptions.IncludeRoutingId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the routing ID (e.g., PK Range ID for Gateway Mode or Partition/Replica information for Direct Mode, if available) should be included in the network metrics.
By default, Routing Id information is not included as a dimension in the network metrics.public bool? IncludeRoutingId { get; set; }
member this.IncludeRoutingId : Nullable<bool> with get, set
Public Property IncludeRoutingId As Nullable(Of Boolean)
Property Value
Remarks
Enabling this option provides greater diagnostic granularity, allowing you to identify issues with specific Partition Key Range IDs, replicas, or partitions. However, including the routing ID as a dimension increases the cardinality of metrics. This can result in significantly higher storage costs and generate a large number of metrics with low sample counts, making analysis more challenging.
Carefully evaluate whether the additional granularity is necessary for your use case, as it may lead to increased resource consumption and complexity.