pkg/

directory
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT

Directories

Path Synopsis
metrics
Package metrics holds the shared domain comparison metrics recorded by every component that diffs live/shadow responses: the mroki-api server (API mode), the standalone mroki-proxy, and the caddy module.
Package metrics holds the shared domain comparison metrics recorded by every component that diffs live/shadow responses: the mroki-api server (API mode), the standalone mroki-proxy, and the caddy module.
Package jsontree provides types and utilities for working with parsed JSON value trees — the Go representation produced by json.Unmarshal into any.
Package jsontree provides types and utilities for working with parsed JSON value trees — the Go representation produced by json.Unmarshal into any.
Package metrics provides the shared Prometheus + OpenTelemetry plumbing used by the mroki binaries: a per-binary registry, runtime/process collector registration, an HTTP handler for the /metrics endpoint, and an OTel MeterProvider bridged onto that registry (NewMeterProvider) together with the otelhttp client helpers (InstrumentClient/InstrumentClientFunc) used to instrument outbound calls.
Package metrics provides the shared Prometheus + OpenTelemetry plumbing used by the mroki binaries: a per-binary registry, runtime/process collector registration, an HTTP handler for the /metrics endpoint, and an OTel MeterProvider bridged onto that registry (NewMeterProvider) together with the otelhttp client helpers (InstrumentClient/InstrumentClientFunc) used to instrument outbound calls.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL