Package | Description |
---|---|
org.forgerock.monitoring.api.instrument |
Common Monitoring API Core based on MicroMeter
|
org.forgerock.monitoring.api.instrument.config |
Common Monitoring API Config functionality based on MicroMeter
|
org.forgerock.monitoring.dropwizard |
Implementation for Common Monitoring API based on DropWizard.
|
Modifier and Type | Method and Description |
---|---|
Meter.Type |
Meter.Id.getType()
The type is used by different registry implementations to structure the exposition
of metrics to different backends.
|
static Meter.Type |
Meter.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Meter.Type[] |
Meter.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Meter.Builder |
Meter.builder(String name,
Meter.Type type,
Iterable<Measurement> measurements) |
Meter |
MeterRegistryHolder.register(Meter.Id id,
Meter.Type type,
Iterable<Measurement> measurements) |
Meter |
MeterRegistry.register(Meter.Id id,
Meter.Type type,
Iterable<Measurement> measurements)
Register a custom meter type.
|
Constructor and Description |
---|
Id(String name,
Iterable<Tag> tags,
String baseUnit,
String description,
String hierarchicalName,
Meter.Type type) |
Modifier and Type | Method and Description |
---|---|
default String |
NamingConvention.name(String name,
Meter.Type type) |
String |
NamingConvention.name(String name,
Meter.Type type,
String baseUnit) |
Modifier and Type | Method and Description |
---|---|
protected Meter |
DropwizardMeterRegistry.newMeter(Meter.Id id,
Meter.Type type,
Iterable<Measurement> measurements) |
protected abstract Meter |
AbstractMeterRegistry.newMeter(Meter.Id id,
Meter.Type type,
Iterable<Measurement> measurements)
Build a new custom meter to be added to the registry.
|
Meter |
AbstractMeterRegistry.register(Meter.Id id,
Meter.Type type,
Iterable<Measurement> measurements) |
Copyright 2011-2017 ForgeRock AS.