klaviyo-observability

Featured

Set up observability for Klaviyo integrations with metrics, traces, and alerts. Use when implementing monitoring for Klaviyo API operations, setting up dashboards, or configuring alerting for Klaviyo integration health. Trigger with phrases like "klaviyo monitoring", "klaviyo metrics", "klaviyo observability", "monitor klaviyo", "klaviyo alerts", "klaviyo tracing".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Klaviyo Observability ## Overview Comprehensive observability for Klaviyo integrations: Prometheus metrics for API call tracking, OpenTelemetry tracing, structured logging, and alerting rules tuned to Klaviyo's rate limits and error patterns. ## Prerequisites - Prometheus or compatible metrics backend - OpenTelemetry SDK installed (optional) - Grafana or similar dashboarding tool (optional) - `klaviyo-api` SDK installed ## Key Metrics to Track | Metric | Type | Why It Matters | |--------|------|---------------| | `klaviyo_api_requests_total` | Counter | Track total API volume by endpoint | | `klaviyo_api_duration_seconds` | Histogram | Detect latency degradation | | `klaviyo_api_errors_total` | Counter | 4xx/5xx error rates | | `klaviyo_rate_limit_remaining` | Gauge | Predict when you'll hit 429s | | `klaviyo_profiles_synced_total` | Counter | Profile sync throughput | | `klaviyo_events_tracked_total` | Counter | Event tracking volume | | `klaviyo_webhook_received_total` | Counter | Inbound webhook volume | ## Instructions ### Step 1: Instrumented API Wrapper ```typescript // src/klaviyo/instrumented-client.ts import { Counter, Histogram, Gauge, Registry } from 'prom-client'; const registry = new Registry(); const apiRequests = new Counter({ name: 'klaviyo_api_requests_total', help: 'Total Klaviyo API requests', labelNames: ['method', 'endpoint', 'status'], registers: [registry], }); const apiDuration = new Histogram({ name: 'klaviyo_api_duration_secon...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category