hubspot-observability

Featured

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

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

# HubSpot Observability ## Overview Instrument HubSpot API calls with Prometheus metrics, OpenTelemetry tracing, and structured logging to monitor CRM integration health. ## Prerequisites - Prometheus or compatible metrics backend - OpenTelemetry SDK (optional, for tracing) - Structured logging library (pino recommended) ## Instructions ### Step 1: Prometheus Metrics ```typescript import { Counter, Histogram, Gauge, Registry } from 'prom-client'; const registry = new Registry(); const hubspotRequests = new Counter({ name: 'hubspot_api_requests_total', help: 'Total HubSpot API requests', labelNames: ['method', 'object_type', 'status'], registers: [registry], }); const hubspotLatency = new Histogram({ name: 'hubspot_api_request_duration_seconds', help: 'HubSpot API request duration', labelNames: ['method', 'object_type'], buckets: [0.05, 0.1, 0.25, 0.5, 1, 2, 5], registers: [registry], }); const hubspotRateLimit = new Gauge({ name: 'hubspot_rate_limit_remaining', help: 'HubSpot daily rate limit remaining', labelNames: ['type'], registers: [registry], }); const hubspotErrors = new Counter({ name: 'hubspot_api_errors_total', help: 'HubSpot API errors by category', labelNames: ['status_code', 'category'], registers: [registry], }); ``` ### Step 2: Instrumented Client Wrapper ```typescript import * as hubspot from '@hubspot/api-client'; class InstrumentedHubSpotClient { private client: hubspot.Client; constructor() { this.cl...

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