public interface SystemTagsManager
Deals with global and app-level tags to be included in output for all metrics.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns a single iterator over the explicit tags in the provided map plus any global and app-level tags.Returns a single iterator over the explicit tags in the metric ID plus any global and app-level tags.static SystemTagsManagercreate(MetricsSettings metricsSettings) Creates a new system tags manager using the provided metrics settings and saves it as the initialized instance returned to subsequent invocations ofinstance().static SystemTagsManagerinstance()Returns the initialized instance of the tags manager.
-
Field Details
-
APP_TAG
MicroProfile-specified tag for app-wide tag.- See Also:
-
-
Method Details
-
create
Creates a new system tags manager using the provided metrics settings and saves it as the initialized instance returned to subsequent invocations ofinstance().- Parameters:
metricsSettings- settings containing the global and app-level tags (if any)- Returns:
- new tags manager
-
instance
Returns the initialized instance of the tags manager.- Returns:
- current instance of the tags manager
-
allTags
Returns a single iterator over the explicit tags in the metric ID plus any global and app-level tags.- Parameters:
metricID- metric ID possibly containing explicit tag settings- Returns:
- iterator over all tags, explicit and global and app-level
-
allTags
Returns a single iterator over the explicit tags in the provided map plus any global and app-level tags.- Parameters:
explicitTags- map containing explicitly-defined tags for a metric- Returns:
- iterator over all tags, explicit and global and app-level
-