Uses of Class
com.atlassian.util.profiling.Metrics.Builder
Packages that use Metrics.Builder
-
Uses of Metrics.Builder in com.atlassian.util.profiling
Methods in com.atlassian.util.profiling that return Metrics.BuilderModifier and TypeMethodDescriptionCollectsMetricTag.OptionalMetricTagthat may exist in aMetricTagContextCollectsMetricTag.OptionalMetricTagthat may exist in aMetricTagContextMetrics.Builder.fromPluginKey(String pluginKey) Attribute a plugin for providing a module that is measuredMetrics.Builder.invokerPluginKey(String pluginKey) Attribute the plugin for invoking measured codestatic Metrics.BuilderStart creating a metric using theMetrics.BuilderMetrics.Builder.optionalTag(String key, boolean value) Adds an optional tag to the metric.Metrics.Builder.optionalTag(String key, int value) Adds an optional tag to the metric.Metrics.Builder.optionalTag(String key, String value) Adds an optional tag to the metric.Metrics.Builder.optionalTags(MetricTag.OptionalMetricTag... optionalMetricTags) Adds optional tags to the metric.Metrics.Builder.optionalTags(Iterable<MetricTag.OptionalMetricTag> optionalMetricTags) Adds optional tags to the metric.Adds a tag to the metric.Adds a tag to the metric.Adds a tag to the metric.Metrics.Builder.tags(MetricTag.RequiredMetricTag... tags) Adds tags to the metric.Metrics.Builder.tags(Iterable<MetricTag.RequiredMetricTag> requiredMetricTags) Adds tags to the metric.Metrics.Builder.withAnalytics()Mark any created metrics to be sent to analytics.Metrics.Builder.withInvokerPluginKey()Attribute the plugin at the top of the call stack for invoking measured codeMethods in com.atlassian.util.profiling with parameters of type Metrics.BuilderModifier and TypeMethodDescriptionstatic TimerTimers.timerWithMetric(String traceName, Metrics.Builder metricBuilder) Creates aTimerwith the given trace name, and metrics based on the builder.