@Retention(value=RUNTIME)
@Documented
public @interface StatsDoc
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
help
The help message of this stats.
|
java.lang.String |
name
The name of this stats.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
category
The name of the category to group stats together.
|
java.lang.String |
happensAfter
The metric name of an operation that happens
after the operation of this metric.
|
java.lang.String |
parent
The parent metric name.
|
java.lang.String |
scope
The scope of this stats.
|
public abstract java.lang.String name
public abstract java.lang.String help
public abstract java.lang.String category
public abstract java.lang.String scope
public abstract java.lang.String parent
It can used for analyzing the relationships between the metrics, especially for the latency metrics.
public abstract java.lang.String happensAfter
similar as parent(), it can be used for analyzing
the dependencies between metrics.
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.