This topic explains how to create custom metrics in LaunchDarkly. Custom metrics require that you instrument custom events in your application code using the LaunchDarkly SDK track() method.
When you create a custom metric in the LaunchDarkly user interface, you first select the event you have instrumented, and then LaunchDarkly displays data previews for the most recent events that it recorded. You can also filter the events you want to include a custom metric, based on context attributes or event properties.
There are three types of custom metrics you can create:
You can instrument custom metric events and create custom metrics using any LaunchDarkly SDK. Read Sending custom events to learn more.