24 lines
866 B
JavaScript
24 lines
866 B
JavaScript
// Metro module 6467 (f6468).
|
|
import { metrics } from "./addToMetricsAggregator";
|
|
import { MetricsAggregator } from "./MetricsAggregator";
|
|
export const metricsDefault = {
|
|
increment: function increment(a0, r7 = 1) {
|
|
metrics.increment(MetricsAggregator, a0, r7, arguments[2]);
|
|
},
|
|
distribution: function distribution(a0, a1, a2) {
|
|
metrics.distribution(MetricsAggregator, a0, a1, a2);
|
|
},
|
|
set: function set(a0, a1, a2) {
|
|
metrics.set(MetricsAggregator, a0, a1, a2);
|
|
},
|
|
gauge: function gauge(a0, a1, a2) {
|
|
metrics.gauge(MetricsAggregator, a0, a1, a2);
|
|
},
|
|
timing: function timing(a0, a1, r7 = "second") {
|
|
return metrics.timing(MetricsAggregator, a0, a1, r7, arguments[3]);
|
|
},
|
|
getMetricsAggregatorForClient: function getMetricsAggregatorForClient(a0) {
|
|
return metrics.getMetricsAggregatorForClient(a0, MetricsAggregator);
|
|
}
|
|
};
|