No description
- Go 88.9%
- Makefile 8.4%
- Dockerfile 2.7%
* chore(deps): bump actions/setup-go to v7 Self-hosted CI workflows. * ci: setup-go v7 + cache false |
||
|---|---|---|
| .github | ||
| cmd/module | ||
| deploy | ||
| internal | ||
| test | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .golangci.yml | ||
| CHANGELOG.md | ||
| COMPATIBILITY.md | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| muxcore.json | ||
| README.md | ||
| SECURITY.md | ||
Metrics Prometheus
Prometheus metrics exporter and provider.
A MuxCore sidecar module that registers counters, gauges, and histograms over gRPC and scrapes them via a Prometheus HTTP /metrics endpoint. Provides the metrics capability.
How It Works
Modules ──→ metrics-prometheus (gRPC) ──→ in-process registry
│
Prometheus ──→ GET /metrics (HTTP) ───────────┘
Configuration
| Variable | Default | Description |
|---|---|---|
METRICS_GRPC_ADDR |
:9900 |
Metrics gRPC listen address |
METRICS_HTTP_ADDR |
:9901 |
Prometheus scrape HTTP address |
Quick Start
make build
export MUXCORE_INSECURE_DISABLE_TLS=true
./metrics-prometheus --muxcore-mesh-addr localhost:9090
# scrape: curl localhost:9901/metrics
Capability
metrics — Prometheus metrics provider
License
GPL-3.0