shopify-observability

Featured

Set up observability for Shopify app integrations with query cost tracking, rate limit monitoring, webhook delivery metrics, and structured logging. Trigger with phrases like "shopify monitoring", "shopify metrics", "shopify observability", "monitor shopify API", "shopify alerts", "shopify dashboard".

AI & Automation 2,266 stars 315 forks Updated today 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

# Shopify Observability ## Overview Instrument your Shopify app to track GraphQL query cost, rate limit consumption, webhook delivery success, and API latency. Shopify-specific metrics that generic monitoring misses. ## Prerequisites - Prometheus or compatible metrics backend - pino or similar structured logger - Shopify API client with response interception ## Instructions ### Step 1: Shopify-Specific Metrics ```typescript import { Registry, Counter, Histogram, Gauge } from "prom-client"; const registry = new Registry(); // GraphQL query cost tracking const queryCostHistogram = new Histogram({ name: "shopify_graphql_query_cost", help: "Shopify GraphQL actual query cost", labelNames: ["operation", "shop"], buckets: [1, 10, 50, 100, 250, 500, 1000], registers: [registry], }); // Rate limit headroom const rateLimitGauge = new Gauge({ name: "shopify_rate_limit_available", help: "Shopify rate limit points currently available", labelNames: ["shop", "api_type"], registers: [registry], }); // REST bucket state const restBucketGauge = new Gauge({ name: "shopify_rest_bucket_used", help: "REST API leaky bucket current fill level", labelNames: ["shop"], registers: [registry], }); // API request duration const apiDuration = new Histogram({ name: "shopify_api_duration_seconds", help: "Shopify API call duration", labelNames: ["operation", "status", "api_type"], buckets: [0.1, 0.25, 0.5, 1, 2, 5, 10], registers: [registry], }); // Webhook pro...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

shopify-cost-tuning

Optimize Shopify app costs through plan selection, API usage monitoring, and Shopify Plus upgrade analysis. Trigger with phrases like "shopify cost", "shopify billing", "shopify pricing", "shopify Plus worth it", "shopify API usage", "reduce shopify costs".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-observability

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".

2,266 Updated today
jeremylongshore
AI & Automation Solid

webflow-observability

Set up observability for Webflow integrations — Prometheus metrics for API calls, OpenTelemetry tracing, structured logging with pino, Grafana dashboards, and alerting for rate limits, errors, and latency. Trigger with phrases like "webflow monitoring", "webflow metrics", "webflow observability", "monitor webflow", "webflow alerts", "webflow tracing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-advanced-troubleshooting

Debug complex Shopify API issues using cost analysis, request tracing, webhook delivery inspection, and GraphQL introspection. Trigger with phrases like "shopify hard bug", "shopify mystery error", "shopify deep debug", "difficult shopify issue", "shopify intermittent failure".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-rate-limits

Handle Shopify API rate limits for both REST (leaky bucket) and GraphQL (calculated query cost). Use when hitting 429 errors, implementing retry logic, or optimizing API request throughput. Trigger with phrases like "shopify rate limit", "shopify throttling", "shopify 429", "shopify THROTTLED", "shopify query cost", "shopify backoff".

2,266 Updated today
jeremylongshore