# Metrics Server

> Metrics Server is an Agent Skill for devops & security published in the Mesh-LLM/mesh-llm repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use this skill when working on benchmark telemetry ingest, metrics-server run lifecycle, OTLP collection, SQLite storage, benchmark report export, or separating telemetry/reporting ownership from staged runtime servers.

- Skill name: `metrics-server`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/Mesh-LLM/mesh-llm/blob/HEAD/.agents/skills/metrics-server/SKILL.md
- Repository: Mesh-LLM/mesh-llm (2,502 GitHub stars when collected)

## SKILL.md

# metrics-server

Use this skill when working on benchmark telemetry ingest, run lifecycle, or
report export.

## Commands

```bash
cargo build -p metrics-server

target/debug/metrics-server serve \
  --db /tmp/metrics.sqlite \
  --http-addr 127.0.0.1:18080 \
  --otlp-grpc-addr 127.0.0.1:14317
```

Benchmark reports should come from metrics-server data. Stage servers emit OTLP;
they do not own canonical report export.

## Workflow

- Start `metrics-server` before a benchmark or experimental skippy run.
- Pass the OTLP endpoint to skippy stages with `--metrics-otlp-grpc`.
- Use `--debug-retain-raw-otlp` only for surgical debugging; default reports
  should avoid retaining raw payloads.
- Finalize the run through the HTTP API and export `report.json` from
  metrics-server data.

---

Source: https://www.openparable.com/skill/devops-security/metrics-server (OpenParable). Cite the canonical URL above.
