grammarly-observability

Featured

Implement Grammarly observability with metrics and logging. Use when setting up monitoring, tracking API performance, or implementing alerting for Grammarly integrations. Trigger with phrases like "grammarly monitoring", "grammarly metrics", "grammarly observability", "grammarly logging", "grammarly alerts".

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

# Grammarly Observability ## Overview Grammarly API integrations process user text through scoring, AI rewriting, and plagiarism endpoints where latency and accuracy directly affect user experience. Monitor text check response times, suggestion quality signals, API error rates, and token consumption to stay within rate limits. Catching degradation early prevents users from seeing stale suggestions or silent failures in real-time editing flows. ## Key Metrics | Metric | Type | Target | Alert Threshold | |--------|------|--------|-----------------| | Text check latency p95 | Histogram | < 300ms | > 800ms | | API error rate | Gauge | < 1% | > 5% | | Suggestion acceptance rate | Gauge | > 40% | < 20% (quality signal) | | Token usage (daily) | Counter | < 80% quota | > 90% quota | | Plagiarism check latency | Histogram | < 2s | > 5s | | AI rewrite throughput | Counter | Stable | Drop > 30% | ## Instrumentation ```typescript async function trackGrammarlyCall(api: 'score' | 'ai' | 'plagiarism', textLen: number, fn: () => Promise<any>) { const start = Date.now(); try { const result = await fn(); metrics.histogram('grammarly.api.latency', Date.now() - start, { api }); metrics.increment('grammarly.api.calls', { api }); metrics.gauge('grammarly.text.length', textLen, { api }); return result; } catch (err) { metrics.increment('grammarly.api.errors', { api, status: err.status }); throw err; } } ``` ## Health Check Dashboard ```typescript async f...

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