Uses of Interface
io.helidon.metrics.api.Tag
Package
Description
Defines the Helidon metrics API so Helidon metrics-capable components can implement metrics simply and without regard for
whether metrics is actually on the runtime path or not or is enabled or not.
-
Uses of Tag in io.helidon.metrics.api
Modifier and TypeMethodDescriptionstatic Tag
Creates a new tag using the specified key and value.static Tag
Creates aTag
for the specified key and value.Creates aTag
from the specified key and value.Modifier and TypeMethodDescriptionSystemTagsManager.displayTags()
Returns a scope tag so long as the candidate scope or configured default scope are present and the scope tag name is configured.Meter.Id.tags()
Returns the tags which further identify the meter.MetricsConfig.BuilderBase.MetricsConfigImpl.tags()
MetricsConfig.BuilderBase.tags()
Global tags.SystemTagsManager.withoutSystemOrScopeTags
(Iterable<Tag> tags) SystemTagsManager.withoutSystemTags
(Iterable<Tag> tags) SystemTagsManager.withScopeTag
(Iterable<Tag> tags, Optional<String> explicitScope) Augments, if necessary, the provided tags with an additional tag with the scope tag name and value from the explicit scope provided, an existing tag, or the default scope value, if configured.Modifier and TypeMethodDescriptionAdds a single tag to the builder's collection.Modifier and TypeMethodDescriptionGlobal tags.void
SystemTagsManager.assignScope
(String scope, Function<Tag, ?> consumer) Invokes the specified consumer with the scope tag name setting from the configuration (if present) and the provided scope value.Locates a previously-registered counter.SystemTagsManager.effectiveScope
(Optional<String> explicitScope, Iterable<Tag> tags) Returns the effective scope, given the provided explicit setting and tags (which might specify the scope) combined with any default scope value in the configuration which was used to initialize this system tags manager.Locates a previously-registered gauge.Locates a previously-registered meter of the specified type, matching the name and tags.Metrics.getCounter
(String name, Iterable<Tag> tags) Locates a previously-registered counter.Locates a previously-registered gauge.static Optional
<DistributionSummary> Metrics.getSummary
(String name, Iterable<Tag> tags) Locates a previously-registered distribution summary.Locates a previously-registered timer.Locates a previously-registered meter of the specified type, matching the name and tags.Removes a previously-registered meter with the specified name and tags.Removes a previously-registered meter with the specified name, tags, and scope.default Optional
<DistributionSummary> Locates a previously-registered distribution summary.Sets the tags to use in identifying the build meter.Global tags.Locates a previously-registered timer.SystemTagsManager.withoutSystemOrScopeTags
(Iterable<Tag> tags) SystemTagsManager.withoutSystemTags
(Iterable<Tag> tags) SystemTagsManager.withScopeTag
(Iterable<Tag> tags, Optional<String> explicitScope) Augments, if necessary, the provided tags with an additional tag with the scope tag name and value from the explicit scope provided, an existing tag, or the default scope value, if configured.