Overview
This topic explains how to configure LaunchDarkly SDKs to send application metadata to LaunchDarkly. This feature is available for client-side and server-side SDKs.Customize application information
Some LaunchDarkly SDKs support configuration options for specifying application information, including application identifier and version. When you configure these options, the SDK automatically sends this application information to LaunchDarkly. In the LaunchDarkly user interface (UI), the application information appears in the following places:- Application information appears in the “From source” field on Context details pages. To learn more, read The context details page.
- Application information appears in the Applications page. From this page, you can also set additional properties, such as whether an application version is supported or unsupported. To learn more, read Applications and application versions.
- Application metadata also appears on the Usage pages. This information can help you identify which applications are consuming Service Connections.
ld_application context that the SDK then includes in each evaluation context. To learn more, read Automatic environment attributes.
After the SDK has evaluated at least one feature flag using an ld_application context, you can create mobile targeting rules based on application and application version information. To learn more, read Applications and application versions and Mobile targeting.
For the SDKs that support this feature, you can send some or all of the following metadata:
- Application identifier (string): A unique identifier representing the application where the LaunchDarkly SDK is running. For example,
authentication-service. - Application name (string): A human-friendly name for the application where the LaunchDarkly SDK is running. For example,
Authentication-Service. - Application version (string): A unique identifier representing the version of the application where the LaunchDarkly SDK is running. For example, you could set this to the semantic version of your application, such as
1.0.0. If you are using engineering insights, you must set the application version either to the full secure hash algorithm (SHA) of the GitHub commit for this deployment, such asa12bcde3f45ab6c789123456d78efabcde91234f, or to the tag associated with the GitHub commit for this deployment. Learn more about sending deployment information to engineering insights. - Application version name (string): A human-friendly name for the version of the application in which the LaunchDarkly SDK is running. For example,
v1.
-, periods ., and underscores _. Spaces are converted to hyphens.
You can set these values when you configure the SDK. All connections to LaunchDarkly from a client will send the same value to LaunchDarkly, whether the connection is through streaming, polling, or events. You cannot change the value after you configure the client.
Configure application metadata for engineering insights

An example of deployment frequency summary in engineering insights.
Client-side SDKs
This feature is available in the following client-side SDKs:- .NET (client-side)
- Android
- C++ (client-side)
- Flutter
- iOS
- JavaScript
- Node.js (client-side)
- React Native
- React Web: The React Web SDK relies on the JavaScript SDK for this functionality.
- Roku
.NET (client-side)
Expand .NET (client-side) code sample
Expand .NET (client-side) code sample
ld_application context. To learn more, read Automatic environment attributes and application metadata configuration.To learn more about the configuration option, read ApplicationInfoBuilder.Android
Expand Android code sample
Expand Android code sample
ld_application context. To learn more, read Automatic environment attributes and application metadata configuration.To learn more about the configuration option, read ApplicationInfoBuilder.C++ (client-side)
Expand C++ (client-side) code sample
Expand C++ (client-side) code sample
AppInfoBuilder.Flutter
Expand Flutter code sample
Expand Flutter code sample
ld_application context. To learn more, read Automatic environment attributes and application metadata configuration.To learn more, read LDConfig.iOS
Expand iOS code sample
Expand iOS code sample
ld_application context. To learn more, read Automatic environment attributes and application metadata configuration.To learn more about the specific configuration options available in this SDK, read the SDK’s API docs.Java
ScriptExpand JavaScript code sample
Expand JavaScript code sample
LDOptions.Node.js (client-side)
Expand Node.js (client-side) code sample
Expand Node.js (client-side) code sample
application.React Native
Expand React Native code sample
Expand React Native code sample
ld_application context. Otherwise, the ld_application context will not be included. To learn more, read Automatic environment attributes and application metadata configuration.To learn more about the specific configuration options available in this SDK, read LDOptions.Roku
Expand Roku code sample
Expand Roku code sample
Server-side SDKs
This feature is available for the following server-side SDKs:- .NET (server-side)
- C++ (server-side)
- Erlang
- Go
- Haskell
- Java
- Lua
- Node.js (server-side)
- PHP
- Python
- Ruby
- Rust
.NET (server-side)
Expand .NET (server-side) code sample
Expand .NET (server-side) code sample
ConfigurationBuilder.C++ (server-side)
Expand C++ (server-side) code sample
Expand C++ (server-side) code sample
AppInfoBuilder.Erlang
Expand Erlang code sample
Expand Erlang code sample
ldclient_config module.Go
Expand Go code sample
Expand Go code sample
Config.Haskell
Expand Haskell code sample
Expand Haskell code sample
Java
Expand Java code sample
Expand Java code sample
LDConfig.Builder.Lua
Expand Lua code sample
Expand Lua code sample
clientInit.Node.js (server-side)
Expand Node.js (server-side) code sample
Expand Node.js (server-side) code sample
PHP
Expand PHP code sample
Expand PHP code sample
ApplicationInfo. For a complete list of configuration options, read the documentation for the LDClient constructor.Python
Expand Python code sample
Expand Python code sample
application. For a complete list of configuration options, read the documentation for the ldclient.config module.Ruby
Expand Ruby code sample
Expand Ruby code sample
Rust
Expand Rust code sample
Expand Rust code sample
Config type lets you specify a variety of options. To learn more about the specific configuration options available in this SDK, read the SDK’s API docs.