a71f801c3f
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings - Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers - Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page - Docker Compose and Dockerfile for self-hosted deployment - Uses bcryptjs for Node 24 compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
63 lines
1.5 KiB
JavaScript
63 lines
1.5 KiB
JavaScript
import * as internal from "./internal/metric/key.js";
|
|
/**
|
|
* @since 2.0.0
|
|
* @category symbols
|
|
*/
|
|
export const MetricKeyTypeId = internal.MetricKeyTypeId;
|
|
/**
|
|
* @since 2.0.0
|
|
* @category refinements
|
|
*/
|
|
export const isMetricKey = internal.isMetricKey;
|
|
/**
|
|
* Creates a metric key for a counter, with the specified name.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
export const counter = internal.counter;
|
|
/**
|
|
* Creates a metric key for a categorical frequency table, with the specified
|
|
* name.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
export const frequency = internal.frequency;
|
|
/**
|
|
* Creates a metric key for a gauge, with the specified name.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
export const gauge = internal.gauge;
|
|
/**
|
|
* Creates a metric key for a histogram, with the specified name and boundaries.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
export const 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
|
|
*/
|
|
export const summary = internal.summary;
|
|
/**
|
|
* Returns a new `MetricKey` with the specified tag appended.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
export const tagged = internal.tagged;
|
|
/**
|
|
* Returns a new `MetricKey` with the specified tags appended.
|
|
*
|
|
* @since 2.0.0
|
|
* @category constructors
|
|
*/
|
|
export const taggedWithLabels = internal.taggedWithLabels;
|
|
//# sourceMappingURL=MetricKey.js.map
|