70 lines
2.5 KiB
JavaScript
70 lines
2.5 KiB
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.taggedWithLabels = exports.tagged = exports.summary = exports.isMetricKey = exports.histogram = exports.gauge = exports.frequency = exports.counter = exports.MetricKeyTypeId = void 0;
|
|
var internal = _interopRequireWildcard(require("./internal/metric/key.js"));
|
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
/**
|
|
* @since 2.0.0
|
|
* @category symbols
|
|
*/
|
|
const MetricKeyTypeId = exports.MetricKeyTypeId = internal.MetricKeyTypeId;
|
|
/**
|
|
* @since 2.0.0
|
|
* @category refinements
|
|
*/
|
|
const isMetricKey = exports.isMetricKey = internal.isMetricKey;
|
|
/**
|
|
* Creates a metric key for a counter, with the specified name.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
const counter = exports.counter = internal.counter;
|
|
/**
|
|
* Creates a metric key for a categorical frequency table, with the specified
|
|
* name.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
const frequency = exports.frequency = internal.frequency;
|
|
/**
|
|
* Creates a metric key for a gauge, with the specified name.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
const gauge = exports.gauge = internal.gauge;
|
|
/**
|
|
* Creates a metric key for a histogram, with the specified name and boundaries.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
const histogram = exports.histogram = internal.histogram;
|
|
/**
|
|
* Creates a metric key for a summary, with the specified name, maxAge,
|
|
* maxSize, error, and quantiles.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
const summary = exports.summary = internal.summary;
|
|
/**
|
|
* Returns a new `MetricKey` with the specified tag appended.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
const tagged = exports.tagged = internal.tagged;
|
|
/**
|
|
* Returns a new `MetricKey` with the specified tags appended.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
const taggedWithLabels = exports.taggedWithLabels = internal.taggedWithLabels;
|
|
//# sourceMappingURL=MetricKey.js.map
|