metrics-instrumentation

Instrument opik-backend workflows with OpenTelemetry per-stage metrics and error tracking.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jimmy071919/iiii-project --skill metrics-instrumentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics-instrumentation
Source: https://github.com/jimmy071919/iiii-project/tree/main/opik/.agents/skills/metrics-instrumentation
Command: npx skills add https://github.com/jimmy071919/iiii-project --skill metrics-instrumentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires OpenTelemetry, opik-backend, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides specifications for instrumenting an opik-backend workflow with operational OpenTelemetry metrics, enabling per-stage visibility and performance monitoring.

Core Features & Use Cases

  • Per-Stage Metrics: Collects throughput, latency, and error counters and native histograms, dimensioned per-customer (workspace).
  • Workflow Visibility: Offers detailed insights into pipeline stages (scoring, ingestion, experiments, jobs) for efficient debugging and optimization.
  • Dashboards: Emits data for Grafana dashboards, though dashboard construction is handled by separate skills.
  • Error Tracking: Tracks and counts errors by type and component, providing a clear view of failure points.

Quick Start

Use the metrics-instrumentation skill to instrument your opik-backend workflow and generate metrics for monitoring.

Frequently Asked Questions about metrics-instrumentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instrument opik-backend workflows with OpenTelemetry metrics?

To instrument opik-backend workflows with OpenTelemetry, you emit detailed per-stage metrics covering throughput, latency, and error counters. This provides operational observability into pipeline stages like scoring and ingestion.

What metrics can I collect for opik-backend pipeline stages?

You can collect throughput, latency, error counters, and native histograms for opik-backend pipeline stages. These metrics are dimensioned per-customer workspace for detailed visibility into scoring, ingestion, and jobs.

Does this OpenTelemetry integration build Grafana dashboards for opik-backend?

No, this OpenTelemetry integration does not build Grafana dashboards. It emits detailed operational metrics for opik-backend workflows, while dashboard construction is handled by separate skills.

Can I track errors by component in opik-backend using OpenTelemetry?

Yes, you can track and count errors by type and component in opik-backend using OpenTelemetry. This error tracking provides a clear view of failure points within your workflow pipelines.

Do I need OpenTelemetry and opik-backend to use this instrumentation?

Yes, you need both OpenTelemetry and opik-backend integration to use this instrumentation. It is designed to emit per-stage metrics and error tracking for opik-backend workflows.