public interface Meter
Modifier and Type | Interface and Description |
---|---|
static class |
Meter.Builder
Fluent builder for custom meters.
|
static class |
Meter.Id
A meter is uniquely identified by its combination of name and tags.
|
static class |
Meter.Type
Custom meters may emit metrics like one of these types without implementing
the corresponding interface.
|
Modifier and Type | Method and Description |
---|---|
static Meter.Builder |
builder(java.lang.String name,
Meter.Type type,
java.lang.Iterable<Measurement> measurements) |
Meter.Id |
getId() |
java.lang.Iterable<Measurement> |
measure()
Get a set of measurements.
|
default Meter.Type |
type() |
static Meter.Builder builder(java.lang.String name, Meter.Type type, java.lang.Iterable<Measurement> measurements)
Meter.Id getId()
java.lang.Iterable<Measurement> measure()
default Meter.Type type()