klaviyo-observability
Skill by jeremylongshore
Sets up observability for Klaviyo integrations with Prometheus metrics, optional OpenTelemetry tracing, structured logging, and alert rules. Built for developers who need to monitor Klaviyo API calls, dashboards, and integration health.
Install klaviyo-observability
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/klaviyo-observability ~/.claude/skills/klaviyo-observabilityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/klaviyo-observability ~/.gemini/antigravity-cli/skills/klaviyo-observabilityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install klaviyo-observability in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Klaviyo Observability is a skill that sets up monitoring for Klaviyo integrations. It adds Prometheus metrics for API calls, optional OpenTelemetry tracing, structured pino logging with email redaction, five alert rules, and a GET /metrics endpoint. The core is one wrapper, instrumentedCall(), that every Klaviyo request passes through, so profile, event, and webhook traffic is counted consistently.
It is aimed at developers who run Klaviyo integrations and want metrics, dashboards, and alerts for API volume, errors, latency, and rate-limit headroom. The SKILL.md lists the files to create and points to reference files with the full source and Grafana panels. Incident response is covered by a separate klaviyo-incident-runbook skill.
Written from the project's SKILL.md and checked against it.
What it can do
- instrumentedCall()Wraps Klaviyo calls to record Prometheus counters, a latency histogram, and errors.
- OpenTelemetry tracingOptional tracedKlaviyoCall() helper that emits spans with Klaviyo operation and error attributes.
- Structured loggingA pino logger with a serializer that redacts email addresses from log output.
- Alert rulesPrometheus alerts for error rate, 429 responses, latency, downtime, and low rate-limit headroom.
- Metrics endpointA GET /metrics route that exposes the klaviyo_* series in Prometheus text format.
- Grafana panelsDashboard panels for request rate, error rate, P95 latency, and rate-limit headroom.
What you need
- Prometheus or a compatible metrics backend
- klaviyo-api SDK
- OpenTelemetry SDK (optional, for tracing)
- Grafana or similar dashboarding tool (optional)
- Claude Code
Try asking
- Set up Prometheus metrics for my Klaviyo API calls
- Create Prometheus alert rules for Klaviyo rate limit headroom
- Add a pino logger that redacts emails from my Klaviyo logs
Good to know
- OpenTelemetry tracing is optional.
- Alert thresholds need tuning to your traffic pattern to avoid alert storms.
- Metric labels should use endpoint groups, not full URLs, to avoid high cardinality.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/klaviyo-observability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEdit
-
SKILL.md6 KB -
references/alerting.md2 KB -
references/instrumentation.md5 KB
Alternatives to klaviyo-observability
All alternatives →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.
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.
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.
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.
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.
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.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
klaviyo-observability: common questions
What Klaviyo metrics does this skill track?
It tracks API request totals and duration, API errors, rate-limit remaining, profiles synced, events tracked, and webhooks received.
Does it keep email addresses out of logs?
It adds a pino logger with an email-redacting serializer to prevent emails from appearing in log messages.
Is tracing required?
No. The source describes OpenTelemetry tracing as optional, and the other metrics and alerts work without it.
How do I install klaviyo-observability?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is klaviyo-observability free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is klaviyo-observability safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to klaviyo-observability?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
