- isEnabled
Check whether metrics collection and reporting are enabled or not.
- getMetricContext
Get the wrapped com.codahale.metrics.MetricRegistry instance.
- get
Get a GobblinMetrics instance with the given ID, parent MetricContext, and list
of Tags.
- addCustomTagToState
Add a Tag to a org.apache.gobblin.configuration.State with key
#METRICS_STATE_CUSTOM_TAGS. org.apach
- startMetricReporting
Start metric reporting.
- stopMetricsReporting
Stop metric reporting.
- getCustomTagsFromState
Parse custom org.apache.gobblin.metrics.Tags from property
#METRICS_STATE_CUSTOM_TAGSin the input or
- remove
Remove the GobblinMetrics instance associated with the given ID.
- addCustomTagToProperties
Add a Tag to a Properties with key #METRICS_STATE_CUSTOM_TAGS. Also see
#addCustomTagToState(State,T
- getName
Get the name of this GobblinMetrics. This method is currently equivalent to
#getId().
- <init>
- buildCustomMetricReporters
Build scheduled metrics reporters by reflection from the property
org.apache.gobblin.configuration.C