Skip to main content
Version: 3.x

ClusterConfigurationBuilderExtensions.EnableTelemetry method (1 of 2)

public static IClusterConfigurationBuilder EnableTelemetry(
this IClusterConfigurationBuilder cluster, string topicName)

See Also


ClusterConfigurationBuilderExtensions.EnableTelemetry method (2 of 2)

Creates the telemetry producer and consumer to send and receive metric messages

public static IClusterConfigurationBuilder EnableTelemetry(
this IClusterConfigurationBuilder cluster, string topicName, string consumerGroup,
TimeSpan? cleanRunInterval = default, TimeSpan? expiryTime = default, int topicPartition = 0)
parameterdescription
clusterThe cluster configuration builder
topicNameThe topic to be used by the metric commands
consumerGroupThe consumer group prefix
cleanRunIntervalHow often run storage cleanup. Every 10 minutes by default
expiryTimeCleanup will remove metrics older than specified interval. 6 hours by default
topicPartitionThe partition used to produce and consumer telemetry data

See Also