MetricsRecordImpl@Public
@Evolving
public interface MetricsRecord
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
context() |
|
java.lang.String |
description() |
|
java.lang.Iterable<AbstractMetric> |
metrics() |
Get the metrics of the record
|
java.lang.String |
name() |
|
java.util.Collection<MetricsTag> |
tags() |
Get the tags of the record
Note: returning a collection instead of iterable as we
need to use tags as keys (hence Collection#hashCode etc.) in maps
|
long |
timestamp() |
Get the timestamp of the metrics
|
long timestamp()
java.lang.String name()
java.lang.String description()
java.lang.String context()
java.util.Collection<MetricsTag> tags()
java.lang.Iterable<AbstractMetric> metrics()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.