public interface TracedMethod
Trace
annotation.Agent.getTracedMethod()
Modifier and Type | Method and Description |
---|---|
void |
addRollupMetricName(java.lang.String... metricNameParts)
Metric names added here will be reported as roll-up metrics.
|
java.lang.String |
getMetricName()
Returns the traced method metric name.
|
void |
setMetricName(java.lang.String... metricNameParts)
Sets the traced method metric name by concatenating all given metricNameParts with a '/' separating each part.
|
java.lang.String getMetricName()
void setMetricName(java.lang.String... metricNameParts)
metricNameParts
- The segments of the metric name. These values will be concatenated together separated by a
`/` char.void addRollupMetricName(java.lang.String... metricNameParts)
metricNameParts
- The segments of the rollup metric name. These values will be concatenated together
separated by a `/` char.