Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Classes

AggregatorRegistry
Counter

A counter is a cumulative metric that represents a single numerical value that only ever goes up

Gauge

A gauge is a metric that represents a single numerical value that can arbitrarily go up and down.

Histogram

A histogram samples observations (usually things like request durations or response sizes) and counts them in configurable buckets

Pushgateway

Push metrics to a Pushgateway

Registry

Container for all registered metrics

Summary

A summary samples observations

§Enums

MetricType

§Variables

contentType

The Content-Type of the metrics for use in the response headers.

register

The register that contains all metrics

§Functions

collectDefaultMetrics

Configure default metrics

exponentialBuckets

Create an array that grows exponentially

linearBuckets

Create an array with equal spacing between the elements

validateMetricName

Validate a metric name

§Interfaces

CounterConfiguration
defaultMetrics
DefaultMetricsCollectorConfiguration
GaugeConfiguration
HistogramConfiguration
SummaryConfiguration

§Type Aliases

Aggregator

Aggregation methods, used for aggregating metrics in a Node.js cluster.

Collector
Metric

General metric type