Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/core/src/metrics/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function captureMetric(type: MetricType, name: string, value: number, options?:
}

/**
* @summary Increment a counter metric. Requires the `_experiments.enableMetrics` option to be enabled.
* @summary Increment a counter metric.
*
* @param name - The name of the counter metric.
* @param value - The value to increment by (defaults to 1).
Expand Down Expand Up @@ -72,7 +72,7 @@ export function count(name: string, value: number = 1, options?: MetricOptions):
}

/**
* @summary Set a gauge metric to a specific value. Requires the `_experiments.enableMetrics` option to be enabled.
* @summary Set a gauge metric to a specific value.
*
* @param name - The name of the gauge metric.
* @param value - The current value of the gauge.
Expand Down Expand Up @@ -106,7 +106,7 @@ export function gauge(name: string, value: number, options?: MetricOptions): voi
}

/**
* @summary Record a value in a distribution metric. Requires the `_experiments.enableMetrics` option to be enabled.
* @summary Record a value in a distribution metric.
*
* @param name - The name of the distribution metric.
* @param value - The value to record in the distribution.
Expand Down
Loading