public interface MetricsContext extends MetricsCollector
| Modifier and Type | Method and Description |
|---|---|
MetricsContext |
childContext(Map<String,String> tags)
Creates child
MetricsContext that inherits the metrics context from this one and adds extra context
information. |
MetricsContext |
childContext(String tagName,
String tagValue)
Convenience method that acts as
childContext(java.util.Map) by supplying single tag. |
Map<String,String> |
getTags() |
gauge, incrementMetricsContext childContext(Map<String,String> tags)
MetricsContext that inherits the metrics context from this one and adds extra context
information.tags - tags to add to the child metrics contextMetricsContextMetricsContext childContext(String tagName, String tagValue)
childContext(java.util.Map) by supplying single tag.Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.