public class GlobalMetricsConfiguration extends Object implements ConfigurationInfo
GlobalMetricsConfigurationBuilder
.Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<Boolean> |
GAUGES |
static AttributeDefinition<Boolean> |
HISTOGRAMS |
static AttributeDefinition<Boolean> |
NAMES_AS_TAGS |
static AttributeDefinition<String> |
PREFIX |
Modifier and Type | Method and Description |
---|---|
AttributeSet |
attributes() |
boolean |
enabled()
Metrics are enabled if at least one of the metric types is enabled.
|
boolean |
equals(Object o) |
boolean |
gauges()
Are gauges enabled?
|
ElementDefinition<GlobalMetricsConfiguration> |
getElementDefinition() |
int |
hashCode() |
boolean |
histograms()
Are histograms enabled?
|
boolean |
namesAsTags()
Put the cache manager and cache name in tags rather then include them in the metric name.
|
String |
prefix()
The global prefix to add to all metric names.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
subElements
public static final AttributeDefinition<Boolean> GAUGES
public static final AttributeDefinition<Boolean> HISTOGRAMS
public static final AttributeDefinition<String> PREFIX
public static final AttributeDefinition<Boolean> NAMES_AS_TAGS
public ElementDefinition<GlobalMetricsConfiguration> getElementDefinition()
getElementDefinition
in interface BaseConfigurationInfo
ElementDefinition
of the configuration.public AttributeSet attributes()
attributes
in interface BaseConfigurationInfo
AttributeSet
declared by the configuration.public boolean enabled()
gauges()
, histograms()
.public boolean gauges()
public boolean histograms()
public String prefix()
public boolean namesAsTags()
Copyright © 2021 JBoss by Red Hat. All rights reserved.