Modifier and Type | Field and Description |
---|---|
static String |
DOMAIN |
static String |
NAMESPACE |
EXCLUDE_ALL
Constructor and Description |
---|
ControlCenterProvider() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Map<String,?> configs) |
void |
contextChange(org.apache.kafka.common.metrics.MetricsContext metricsContext)
A callback method that a user can implement to get updates for
MetricsContext . |
String |
domain()
Domain of the active provider.
|
List<MetricsCollector> |
extraCollectors(Context ctx)
The collector for Kafka Metrics library is enabled by default.
|
List<String> |
metricsIncludeRegexDefault()
The metrics include regular expression list used as a default value for this provider.
|
io.opentelemetry.proto.resource.v1.Resource |
resource()
The resource for this provider.
|
boolean |
validate(org.apache.kafka.common.metrics.MetricsContext metricsContext,
Map<String,?> config)
Validate that all the data required for generating correct metrics is present.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configInclude
public static final String DOMAIN
public static final String NAMESPACE
public void configure(Map<String,?> configs)
configure
in interface org.apache.kafka.common.Configurable
public boolean validate(org.apache.kafka.common.metrics.MetricsContext metricsContext, Map<String,?> config)
Provider
public void contextChange(org.apache.kafka.common.metrics.MetricsContext metricsContext)
MetricsContext
.contextChange
in interface Provider
metricsContext
- metrics contextpublic List<String> metricsIncludeRegexDefault()
Provider
metricsIncludeRegexDefault
in interface Provider
public io.opentelemetry.proto.resource.v1.Resource resource()
Provider
public String domain()
Provider
public List<MetricsCollector> extraCollectors(Context ctx)
Provider
extraCollectors
in interface Provider
ctx
- Context