Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

observability-architecture

Skill by majiayu000

Documents the observability setup of the LiteLLM-RS gateway, covering Prometheus metrics, health endpoints, request logging and callback exporters. Written for developers adding instrumentation, debugging health checks, writing alert rules or configuring monitoring.

  • Score 67
  • 125 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install observability-architecture

Built from the published package, never by AI.

git clone --depth 1 https://github.com/majiayu000/litellm-rs /tmp/litellm-rs && mkdir -p ~/.claude/skills && cp -r /tmp/litellm-rs/.claude/skills/observability-architecture ~/.claude/skills/observability-architecture

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install observability-architecture in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The observability-architecture skill is a reference guide for the LiteLLM-RS gateway's monitoring. It covers three runtime pieces: an HTTP metrics middleware that renders Prometheus text format from process-local counters, health and status routes such as /health, /health/ready and /metrics, and callback exporters for OpenTelemetry, Datadog and Langfuse. The guide also documents the monitoring config section in gateway.yaml.

It is aimed at developers who add or change metrics or log instrumentation, implement or debug health checks, write Prometheus alert rules, or configure the monitoring stack. The guide notes which config keys are parsed but not used by the runtime, so readers know which settings take effect. Reference files cover the metric inventory, tracing and logging, health checks, alerting and best practices.

Written from the project's SKILL.md and checked against it.

What it can do

  • Metrics middlewareCounts HTTP requests with process-local atomics and renders Prometheus text format on demand.
  • /metrics endpointExposes gateway_ prefixed series plus the rate_limiter_degraded_total counter for Prometheus scraping.
  • Health routesMounts /health, /health/ready, /health/detailed, /status and /version on the main HTTP server.
  • Request loggingDescribes log subscriber setup, request IDs and access-log events.
  • OpenTelemetry exporterSends lifecycle events to OTLP over HTTP using JSON, configured under monitoring.callbacks.
  • Datadog exporterSends LLM lifecycle events to Datadog through the callback dispatcher.
  • Langfuse exporterSends LLM lifecycle events to Langfuse through the callback dispatcher.
  • Prometheus alert rulesProvides alert rules built on real gateway_ metric series.
  • Monitoring config referenceExplains the monitoring section of config/gateway.yaml and which keys have runtime effect.

Try asking

  • Add a new gateway_ counter metric to the request path
  • Explain why my /health/ready check is failing in LiteLLM-RS
  • Write Prometheus alert rules for gateway error rates

Good to know

  • The metrics port, path and interval_seconds settings are parsed but not used by runtime wiring.
  • health.path and health.detailed do not change the runtime health routes.
  • The logging section is parsed, but the log subscriber level comes from CLI or env settings.
  • OTLP trace export is set under callbacks.backends, not the tracing section.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/observability-architecture/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to observability-architecture

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

observability-architecture: common questions

Which metrics does LiteLLM-RS expose for Prometheus?

The guide says metrics use the gateway_ prefix, except the standalone rate_limiter_degraded_total counter. The full inventory is in the metrics reference file.

Can I send traces to OpenTelemetry, Datadog or Langfuse?

Yes, the guide describes OpenTelemetry, Datadog and Langfuse callback exporters configured under monitoring.callbacks.backends.

Do the monitoring settings in gateway.yaml all take effect?

No. The guide lists several keys, including metrics port, path, health.path and logging, that are parsed but not used by the current runtime.

How do I install observability-architecture?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is observability-architecture free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is observability-architecture safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to observability-architecture?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

observability-architecture Install

Add to stack

Loading.