Class TelemetryMetricNamingConventionTest
java.lang.Object
org.apache.kafka.common.telemetry.internals.TelemetryMetricNamingConventionTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidTest metric key with mixed name and mixed tags where mixed represents combination of upper case, lower case, numbers, hyphen, dot, underscore and special characters.voidvoidvoidvoidvoidStandard consumer metrics are the one's defined in KIP-714 under the section "Standard consumer metrics": https://cwiki.apache.org/confluence/display/KAFKA/KIP-714%3A+Client+metrics+and+observability#KIP714:Clientmetricsandobservability-StandardconsumermetricsvoidStandard producer metrics are the one's defined in KIP-714 under the section "Standard producer metrics": https://cwiki.apache.org/confluence/display/KAFKA/KIP-714%3A+Client+metrics+and+observability#KIP714:Clientmetricsandobservability-Standardproducermetrics
-
Constructor Details
-
TelemetryMetricNamingConventionTest
public TelemetryMetricNamingConventionTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testMetricKey
@Test public void testMetricKey() -
testMetricKeyWithHyphenNameAndNonEmptyTags
@Test public void testMetricKeyWithHyphenNameAndNonEmptyTags() -
testMetricKeyWithMixedNameAndMixedTags
@Test public void testMetricKeyWithMixedNameAndMixedTags()Test metric key with mixed name and mixed tags where mixed represents combination of upper case, lower case, numbers, hyphen, dot, underscore and special characters. -
testMetricKeyWithNullMetricName
@Test public void testMetricKeyWithNullMetricName() -
testMetricKeyWithEmptyName
@Test public void testMetricKeyWithEmptyName() -
testMetricKeyWithEmptyGroup
@Test public void testMetricKeyWithEmptyGroup() -
testMetricKeyWithAdditionalMetricsSuffixInGroup
@Test public void testMetricKeyWithAdditionalMetricsSuffixInGroup() -
testMetricKeyWithMultipleMetricsSuffixInGroup
@Test public void testMetricKeyWithMultipleMetricsSuffixInGroup() -
testMetricKeyWithNullTagKey
@Test public void testMetricKeyWithNullTagKey() -
testMetricKeyWithBlankTagKey
@Test public void testMetricKeyWithBlankTagKey() -
testDerivedMetricKey
@Test public void testDerivedMetricKey() -
testDerivedMetricKeyWithTags
@Test public void testDerivedMetricKeyWithTags() -
testDerivedMetricKeyWithNullComponent
@Test public void testDerivedMetricKeyWithNullComponent() -
testDerivedMetricKeyWithBlankComponent
@Test public void testDerivedMetricKeyWithBlankComponent() -
testNullPrefix
@Test public void testNullPrefix() -
testStandardProducerMetrics
@Test public void testStandardProducerMetrics()Standard producer metrics are the one's defined in KIP-714 under the section "Standard producer metrics": https://cwiki.apache.org/confluence/display/KAFKA/KIP-714%3A+Client+metrics+and+observability#KIP714:Clientmetricsandobservability-Standardproducermetrics -
testStandardConsumerMetrics
@Test public void testStandardConsumerMetrics()Standard consumer metrics are the one's defined in KIP-714 under the section "Standard consumer metrics": https://cwiki.apache.org/confluence/display/KAFKA/KIP-714%3A+Client+metrics+and+observability#KIP714:Clientmetricsandobservability-Standardconsumermetrics
-