public final class PartitionMetricUtils extends Object
| Constructor and Description |
|---|
PartitionMetricUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
tenantPartitionMetricTags(String tenant,
org.apache.kafka.common.TopicPartition tp)
Generates the metric tags used to index a metric by tenant and topic partition.
|
public static Map<String,String> tenantPartitionMetricTags(String tenant, org.apache.kafka.common.TopicPartition tp)
tenant - id of the tenanttp - topic partition