aiconfig-ai-metrics

Instrument AI metrics tracking in Python projects using LaunchDarkly's SDK.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/launchdarkly-labs/aiconfigs-skills --skill aiconfig-ai-metrics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aiconfig-ai-metrics
Source: https://github.com/launchdarkly-labs/aiconfigs-skills/tree/main/aiconfig-ai-metrics
Command: npx skills add https://github.com/launchdarkly-labs/aiconfigs-skills --skill aiconfig-ai-metrics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams instrument AI metrics tracking in their codebase, enabling visibility into AI call performance, token usage, and success rates with the LaunchDarkly SDK.

Core Features & Use Cases

  • Automatic metrics tracking for major AI providers via the tracker
  • Token and duration measurement, plus explicit success/error signals
  • Use cases include monitoring AI-assisted workflows in applications, dashboards, and serverless functions

Quick Start

Install the necessary Python package, initialize a tracker in your config, and wrap your AI calls with the provided tracking helpers to surface metrics in LaunchDarkly.

Frequently Asked Questions about aiconfig-ai-metrics

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

FAQPage Schema
How do I instrument AI metrics tracking in Python with LaunchDarkly?

Instrument AI metrics by installing the LaunchDarkly Python SDK, initializing a tracker in your config, and wrapping AI provider calls with the provided tracking helpers. This surfaces timing, token usage, and success rates directly in LaunchDarkly dashboards.

Can I track token usage and performance for AI API calls?

Yes. The Skill measures token consumption, call duration, and success/error signals for major AI providers through dedicated tracking methods, giving you visibility into AI call efficiency and reliability.

What AI providers does LaunchDarkly metrics tracking support?

The Skill supports common AI providers through provider-specific tracking methods integrated with the LaunchDarkly SDK. Wrap calls with the tracker to automatically capture metrics across your AI workflows.

Do I need existing LaunchDarkly integration to use AI metrics tracking?

Yes. The Skill requires an existing LaunchDarkly SDK setup and a config.tracker integration to wrap AI calls and surface metrics. Start by initializing the tracker in your project configuration.

How can I monitor AI-assisted workflows in serverless functions?

Instrument AI metrics tracking in your serverless functions by wrapping AI provider calls with LaunchDarkly tracking helpers. This enables monitoring of performance, token usage, and success rates across stateless deployments.

What metrics does AI instrumentation capture?

AI metrics instrumentation captures call duration, token usage, and explicit success or error signals for each AI provider interaction, enabling performance dashboards and reliability monitoring in LaunchDarkly.