Documentation
¶
Overview ¶
Package metricsx 提供统一指标基座:Sink 协议、内存快照与可选后端。 实现主体位于 internal/core,本包仅暴露稳定公开 API;Prometheus 后端见子模块 metricsx/prometheus。
Index ¶
Constants ¶
View Source
const ( CodeInvalidConfig = core.CodeInvalidConfig CodeAlreadyRegistered = core.CodeAlreadyRegistered )
View Source
const Version = core.Version
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnapshotMetric ¶ added in v1.4.0
type SnapshotMetric = core.SnapshotMetric
type Snapshotter ¶ added in v1.4.0
type Snapshotter = core.Snapshotter
Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
module
|
|
|
internal
|
|
|
core
Package metricsx 是家族指标基座核心: 定义统一指标协议(Sink)与内置内存后端,零第三方依赖; Prometheus 后端在 github.com/lcylpzls/metricsx/prometheus 子模块。
|
Package metricsx 是家族指标基座核心: 定义统一指标协议(Sink)与内置内存后端,零第三方依赖; Prometheus 后端在 github.com/lcylpzls/metricsx/prometheus 子模块。 |
|
prometheus
module
|
Click to show internal directories.
Click to hide internal directories.