Ag2 Telemetry
ag2ai/build-with-ag2
Add OpenTelemetry traces to an AG2 beta Agent via TelemetryMiddleware (autogen.beta.middleware.builtin).
LiteLLM-RS Observability Architecture. An agent skill from majiayu000/litellm-rs.
$ npx skills add majiayu000/litellm-rs --skill observability-architecture -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install majiayu000/litellm-rs observability-architecture --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/observability-architecture .claude/skills/observability-architecture && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "observability-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/observability-architecture into .claude/skills/observability-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "observability-architecture", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/observability-architectureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add majiayu000/litellm-rs --skill observability-architecture -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install majiayu000/litellm-rs observability-architecture --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/observability-architecture .agents/skills/observability-architecture && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "observability-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/observability-architecture into .agents/skills/observability-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "observability-architecture", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/litellm-rs --skill observability-architecture -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install majiayu000/litellm-rs observability-architecture --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/observability-architecture .cursor/skills/observability-architecture && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "observability-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/observability-architecture into .cursor/skills/observability-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "observability-architecture", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/majiayu000/litellm-rs.git --path .claude/skills/observability-architecture--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add majiayu000/litellm-rs --skill observability-architecture -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install majiayu000/litellm-rs observability-architecture --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/observability-architecture .gemini/skills/observability-architecture && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "observability-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/observability-architecture into .gemini/skills/observability-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "observability-architecture", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install majiayu000/litellm-rs observability-architectureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add majiayu000/litellm-rs --skill observability-architecture -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/observability-architecture .github/skills/observability-architecture && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "observability-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/observability-architecture into .github/skills/observability-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "observability-architecture", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/litellm-rs --skill observability-architecture -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install majiayu000/litellm-rs observability-architecture --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/observability-architecture .opencode/skills/observability-architecture && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "observability-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/observability-architecture into .opencode/skills/observability-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "observability-architecture", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
observability-architectureLiteLLM-RS Observability Architecture. An agent skill from majiayu000/litellm-rs.
Observability Architecture is an agent skill from majiayu000/litellm-rs. LiteLLM-RS Observability Architecture. Covers the Prometheus-format metrics rendered by the metrics middleware and /metrics endpoint, health/readiness endpoints, request logging, and the OpenTelemetry/Datadog/Langfuse callback exporters. Use when adding or changing metrics or log instrumentation, implementing or debugging health checks, wiring Prometheus alert rules, or configuring the monitoring stack.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `reference/alerting.md`, `reference/best-practices.md` and `reference/health-checks.md`).
It sits in DevOps & Cloud, covering Observability, Monitoring and alerting and Model routing and gateways. It works with Prometheus, OpenTelemetry, Langfuse and Datadog. The repository describes itself as: Self-hosted Rust LLM gateway with OpenAI-compatible APIs, load balancing, failover, and a reusable Rust kernel. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ed3f4d9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Observability Architecture loads about 1.3k tokens when it runs. Until then it costs about 108 tokens; SKILL.md has 302 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from majiayu000/litellm-rs at commit ed3f4d9, republished under its MIT licence (© majiayu000). 302 words, ~1,262 tokens.
.claude/skills/observability-architecture/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Observability in LiteLLM-RS is built from three runtime pieces:
MetricsMiddleware (src/server/middleware/metrics.rs) counts requests with process-local atomics and renders Prometheus text format on demand. No prometheus crate is used; series are hand-rendered and use the gateway_ prefix except the standalone rate_limiter_degraded_total counter.src/server/routes/health.rs mounts /health, /health/ready, /health/detailed, /status, /version, and /metrics on the main HTTP server.monitoring.callbacks, the OpenTelemetryIntegration (OTLP/HTTP JSON), DataDogIntegration, and LangfuseIntegration receive real LLM lifecycle events through the CallbackDispatcher stored in AppState (exposed as RuntimeObservability).┌─────────────────────────────────────────────────────────────────┐
│ LiteLLM Gateway │
├─────────────────────────────────────────────────────────────────┤
│ ┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │
│ │ Metrics │ │ Health/status │ │ Callback │ │
│ │ middleware │ │ routes │ │ dispatcher │ │
│ └───────┬───────┘ └───────┬───────┘ └───────┬───────┘ │
└──────────┼──────────────────┼──────────────────┼───────────────┘
▼ ▼ ▼
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ Prometheus │ │ LB / K8s probes │ │ OTLP / Datadog / │
│ scrapes /metrics │ │ + JSON status │ │ Langfuse backends│
└──────────────────┘ └──────────────────┘ └──────────────────┘The section is monitoring: at the top level of config/gateway.yaml (deserialized as
GatewayConfig.monitoring, src/config/models/gateway.rs). The outer monitoring models
use #[serde(deny_unknown_fields)], but callback backend payloads such as
OpenTelemetryConfig do not all make that guarantee; strictness follows the concrete
deserialized struct.
monitoring:
metrics:
enabled: true # gates MetricsMiddleware (src/server/http.rs)
port: 9090 # default 9090; validated > 0 when enabled
path: "/metrics" # validated non-empty, starts with '/'
interval_seconds: 15
tracing:
enabled: false
endpoint: null # REQUIRED when enabled: true (config validation)
service_name: "litellm-rs"
sampling_rate: 0.1
jaeger: null # or {agent_endpoint, service_name}
health:
path: "/health"
detailed: true
logging: null # or {level, format: text|json|structured, outputs}
callbacks:
queue_capacity: 1024
timeout_ms: 5000
backends: [] # {type: opentelemetry|datadog|langfuse, config: {...}}Wiring notes (verified against current code):
metrics.enabled is the only metrics key with runtime effect: it wraps the app in
Condition::new(metrics_enabled, MetricsMiddleware) (src/server/http.rs). The
/metrics route itself is hardcoded in routes::health::configure_routes; port,
path, and interval_seconds are parsed and validated but not consumed by runtime
wiring today.tracing.enabled only appears in the startup summary log (src/lib.rs); OTLP trace
export is configured through callbacks.backends, not the tracing: section.logging is parsed/validated but the log subscriber is initialized in src/main.rs
init_logging from the CLI/env level, not from this section.health.path and health.detailed are parsed and validated, but route registration is
hardcoded to /health, /health/ready, and /health/detailed; neither field changes
the runtime health surface today.gateway_* metric inventory, how the middleware records, and the /metrics renderer.gateway_* series.© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files in .claude/skills/observability-architecture of majiayu000/litellm-rs.
Open the folder on GitHubat commit ed3f4d9
Observability Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Observability Architecture this skillmajiayu000/litellm-rs | 118 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Ag2 Telemetryag2ai/build-with-ag2 | 252 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Frontmcp Observabilityagentfront/frontmcp | 146 | — | ~4.6k | Automated safety check: Pass | Apache-2.0 | |
| Monitoring Observabilityahmedasmar/devops-claude-skills | 203 | — | ~3.9k | Automated safety check: Pass | None | |
| ObservabilityTheBeardedBearSAS/claude-craft | 107 | — | ~547 | Automated safety check: Pass | MIT | |
| Tsh Implementing ObservabilityTheSoftwareHouse/copilot-collections | 284 | — | ~2k | Automated safety check: Pass | MIT |
ag2ai/build-with-ag2
Add OpenTelemetry traces to an AG2 beta Agent via TelemetryMiddleware (autogen.beta.middleware.builtin).
agentfront/frontmcp
A skill your agent uses when adding tracing, structured logging, metrics, or monitoring to a FrontMCP server.
ahmedasmar/devops-claude-skills
Monitoring and observability strategy, implementation, and troubleshooting.
TheBeardedBearSAS/claude-craft
OpenTelemetry, distributed tracing, structured logging, metrics (Prometheus, Grafana, Datadog).
TheSoftwareHouse/copilot-collections
Observability patterns for logging, monitoring, alerting, and distributed tracing.
jeremylongshore/tons-of-skills-marketplace
Verify observability posture — audit monitoring coverage, find blind spots, prioritize gaps.
majiayu000/litellm-rs
LiteLLM-RS Authentication Architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS response caching architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS Configuration Architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS Error Handling Architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS provider system in two tiers - data-driven OpenAI-compatible catalog entries auto-routed through OpenAILikeProvider, plus code-based provider modules implementing the LLMProvider trait…
majiayu000/litellm-rs
LiteLLM-RS Routing Architecture. An agent skill from majiayu000/litellm-rs.
Categories
LiteLLM-RS Observability Architecture. An agent skill from majiayu000/litellm-rs. Observability Architecture is an agent skill from majiayu000/litellm-rs. LiteLLM-RS Observability Architecture.
Observability Architecture fits situations like: changing metrics; log instrumentation; debugging health checks; wiring Prometheus alert rules.
Run `npx skills add majiayu000/litellm-rs --skill observability-architecture -a claude-code`. Or copy the skill folder (.claude/skills/observability-architecture in majiayu000/litellm-rs) into .claude/skills/observability-architecture in your project. Claude Code loads it when a task matches its description.
Run `npx skills add majiayu000/litellm-rs --skill observability-architecture -a codex`. Or copy the skill folder (.claude/skills/observability-architecture in majiayu000/litellm-rs) into .agents/skills/observability-architecture in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/litellm-rs --skill observability-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/observability-architecture, .gemini/skills/observability-architecture, .github/skills/observability-architecture and .opencode/skills/observability-architecture in your project.
SKILL.md names no scripts, command-line tools or credentials: Observability Architecture is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Observability Architecture is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Observability Architecture: Ag2 Telemetry (ag2ai/build-with-ag2, 252 stars), Frontmcp Observability (agentfront/frontmcp, 146 stars), Monitoring Observability (ahmedasmar/devops-claude-skills, 203 stars) and Observability (TheBeardedBearSAS/claude-craft, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
majiayu000 (a GitHub user) maintains it in majiayu000/litellm-rs, which has 118 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 11, 2026.
Source: majiayu000/litellm-rs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.