metrics/__init__.py

EverOS · src/everos/core/observability/metrics/__init__.py · python · Apache-2.0
analytics, tag:knn-classified

Convenience re-export of Prometheus metrics primitives.

# Source: https://github.com/EverMind-AI/EverOS | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""Prometheus-style metrics primitives + registry.

External usage:
    from everos.core.observability.metrics import (
        Counter, Gauge, Histogram, HistogramBuckets,
        get_metrics_registry, generate_metrics_response,
    )
"""

from .counter import Counter as Counter
from .counter import LabeledCounter as LabeledCounter
from .gauge import Gauge as Gauge
from .gauge import LabeledGauge as LabeledGauge
from .histogram import Histogram as Histogram
from .histogram import HistogramBuckets as HistogramBuckets
from .histogram import LabeledHistogram as LabeledHistogram
from .regis

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key