diff options
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/jdisc/state/MetricsPacketsHandler.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/jdisc/state/MetricsPacketsHandler.java b/container-core/src/main/java/com/yahoo/container/jdisc/state/MetricsPacketsHandler.java index 4859222d69a..719c99e147e 100644 --- a/container-core/src/main/java/com/yahoo/container/jdisc/state/MetricsPacketsHandler.java +++ b/container-core/src/main/java/com/yahoo/container/jdisc/state/MetricsPacketsHandler.java @@ -27,9 +27,11 @@ import java.util.Map; import static com.yahoo.container.jdisc.state.StateHandler.getSnapshotPreprocessor; /** - * This handler outputs metrics in a json-like format. Each individual metric is a json object (packet), - * but there is no outer array or object that wraps the metrics packets. This handler is not set up by - * default, but can be added to the applications's services configuration. + * This handler outputs metrics in a json-like format, consisting of a series of metrics packets. + * Each packet is a json object but there is no outer array or object that wraps the packets. + * To reduce the amount of output, a packet contains all metrics that share the same set of dimensions. + * + * This handler is not set up by default, but can be added to the applications's services configuration. * * This handler is protocol agnostic, so it cannot discriminate between e.g. http request * methods (get/head/post etc.). |