For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • Get started
    • Overview
    • Onboarding
    • Get started
    • Launch Insights
    • LaunchDarkly architecture
    • LaunchDarkly vocabulary
  • AgentControl
    • AgentControl
    • Manage AgentControl
  • Feature flags
    • Create flags
    • Target with flags
    • Flag templates
    • Manage flags
    • Code references
    • Contexts
    • Segments
  • Releases
    • Releasing features with LaunchDarkly
    • Release policies
    • Percentage rollouts
    • Progressive rollouts
    • Guarded rollouts
    • Feature monitoring
    • Release pipelines
    • Engineering insights
    • Release management tools
    • Applications and app versions
    • Change history
    • Restoring previous flag versions
  • Observability
    • Observability
    • Session replay
    • Error monitoring
    • Logs
    • Traces
    • Observability metrics
    • Product analytics events
    • LLM observability
    • Alerts
    • Dashboards
    • Service map
    • Vega for auto-remediation
    • Observability MCP server
    • Search specification
    • Observability settings
    • Observability integrations
  • Experimentation
    • Experimentation
    • Experiment metric types
    • Experiment configuration
    • Managing experiments
    • Analyzing experiments
    • Multi-armed bandits
    • Holdouts
  • Metrics and events
    • Metrics in LaunchDarkly
    • Creating metrics
    • Metric groups
    • Events
    • Autogenerated metrics
      • AgentControl config metrics
      • Observability metrics
      • OpenTelemetry metrics
  • Warehouse native
    • Warehouse native metrics
    • Setting up external warehouses
    • Creating experiments using warehouse native metrics
  • Infrastructure
    • Connect apps and services to LaunchDarkly
    • LaunchDarkly in China and Pakistan
    • LaunchDarkly in the European Union (EU)
    • LaunchDarkly in federal environments
    • Public IP list
  • Your account
    • Projects
    • Views
    • Environments
    • Tags
    • Teams
    • Members
    • Roles
    • Account security
    • Feature previews
    • Billing and usage
    • Changelog
Sign inTry it free
LogoLogo
On this page
  • Overview
  • Metric events
  • Analysis units for autogenerated metrics
  • Related content
Metrics and events

Autogenerated metrics

Was this page helpful?
Previous

AgentControl config autogenerated metrics

Next
Built with

Overview

This section explains the metrics LaunchDarkly automatically generates from SDK events and how you can use them to monitor the health of your applications.

Metric events

An “event” happens when someone takes an action in your app, such as clicking on a button, or when a system takes an action, such as loading a page. Your SDKs send these metric events to LaunchDarkly, where, for certain event kinds, LaunchDarkly can automatically create metrics from those events. You can use these metrics with experiments and guarded rollouts to track how your flag changes affect your customers’ behavior.

LaunchDarkly autogenerates metrics from events that are sent:

  • from AI SDKs used in conjunction with AgentControl
  • during document load, for browser apps, if you are using the Observability session replay SDKs
  • from certain span events generated from OpenTelemetry traces in server-side SDKs

Autogenerated metrics are marked on the Metrics list with an “autogenerated” tag. You can view the events that autogenerated these metrics from the Metrics list by clicking View, then Events.

To learn more, read Events and Metric components.

Analysis units for autogenerated metrics

LaunchDarkly sets the analysis unit for autogenerated metrics to your account’s default context kind for experiments and guarded rollouts. For most accounts, the default context kind is “user”. However, you may have updated your default context kind to “account”, “device”, or some other context kind you use in experiments most often. To learn how to set the default context kind for experiments, read Mark context kinds available for experiments.

All autogenerated metrics are designed to work with an analysis unit of either “user” or “request”. Depending on your account’s default context kind for experiments, you may need to manually update the analysis unit for autogenerated metrics as needed. The recommended analysis units for each autogenerated metric are listed in the tables below. To learn how to manually update the analysis unit for a metric, read Edit metrics.

To learn more, read Analysis units.

Related content

The remaining topics in this category describe the metrics that LaunchDarkly autogenerates from different event types:

  • AgentControl config autogenerated metrics
  • Observability autogenerated metrics
  • OpenTelemetry autogenerated metrics