| Package | Description |
|---|---|
| co.cask.cdap.api.metrics |
| Modifier and Type | Class and Description |
|---|---|
class |
NoopMetricsContext
A no-op implementation of
MetricsContext. |
| Modifier and Type | Method and Description |
|---|---|
MetricsContext |
MetricsContext.childContext(Map<String,String> tags)
Creates child
MetricsContext that inherits the metrics context from this one and adds extra context
information. |
MetricsContext |
NoopMetricsContext.childContext(Map<String,String> tags) |
MetricsContext |
MetricsContext.childContext(String tagName,
String tagValue)
Convenience method that acts as
childContext(java.util.Map) by supplying single tag. |
MetricsContext |
NoopMetricsContext.childContext(String tagName,
String tagValue) |
MetricsContext |
MetricsCollectionService.getContext(Map<String,String> context)
Returns the metric collector for the given context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetricStore.setMetricsContext(MetricsContext metricsContext)
Sets
MetricsContext to be used for emitting metrics by this MetricStore. |
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.