@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface MetricsRecord
Modifier and Type | Method and Description |
---|---|
String |
context() |
String |
description() |
Iterable<AbstractMetric> |
metrics()
Get the metrics of the record
|
String |
name() |
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()
String name()
String description()
String context()
Collection<MetricsTag> tags()
Iterable<AbstractMetric> metrics()
Copyright © 2017 Apache Software Foundation. All rights reserved.