ideogram-observability

Featured

Set up monitoring, metrics, and alerts for Ideogram integrations. Use when implementing observability for Ideogram operations, tracking costs, or configuring alerting for generation health. Trigger with phrases like "ideogram monitoring", "ideogram metrics", "ideogram observability", "monitor ideogram", "ideogram alerts", "ideogram 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

# Ideogram Observability ## Overview Monitor Ideogram AI image generation for latency, cost, error rates, and content safety rejections. Key metrics: generation duration (5-25s depending on model), credit burn rate, safety filter rejection rate, and API availability. Ideogram's API is synchronous, so all observability is request-level instrumentation. ## Key Metrics | Metric | Type | Labels | Alert Threshold | |--------|------|--------|-----------------| | `ideogram_generation_duration_ms` | Histogram | model, style, speed | P95 > 25s | | `ideogram_generations_total` | Counter | model, status | Error rate > 5% | | `ideogram_credits_estimated` | Counter | model | >$10/hour | | `ideogram_safety_rejections` | Counter | reason | >10% rejection rate | | `ideogram_image_downloads` | Counter | status | Download failures > 1% | ## Instructions ### Step 1: Instrumented Generation Wrapper ```typescript import { performance } from "perf_hooks"; interface GenerationMetrics { duration: number; model: string; style: string; status: "success" | "error" | "safety_rejected" | "rate_limited"; seed?: number; resolution?: string; } const metricsLog: GenerationMetrics[] = []; async function instrumentedGenerate( prompt: string, options: { model?: string; style_type?: string; aspect_ratio?: string } = {} ) { const model = options.model ?? "V_2"; const style = options.style_type ?? "AUTO"; const start = performance.now(); try { const response = await fetch("http...

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