Skip to main content

LaunchDarkly Observability SDK for Python

Actions Status Documentation

PyPI PyPI

Early Access Preview️

NB: APIs are subject to change until a 1.x version is released.

Install

# poetry
poetry add launchdarkly-observability

# pip
pip install launchdarkly-observability

Install the plugin when configuring your LaunchDarkly SDK.

from ldobserve import ObservabilityConfig, ObservabilityPlugin, observe
import ldclient
from ldclient.context import Context
from ldclient.config import Config

ldclient.set_config(Config("your-sdk-key", plugins=[
    ObservabilityPlugin(
        ObservabilityConfig(
            service_name="your-service-name",
            service_version="your-service-sha",
        ))]))

LaunchDarkly overview

LaunchDarkly is a feature management platform that serves trillions of feature flags daily to help teams build better software, faster. Get started using LaunchDarkly today!

Twitter Follow

Contributing

We encourage pull requests and other contributions from the community. Check out our contributing guidelines for instructions on how to contribute to this SDK.

About LaunchDarkly

  • LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
    • Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
    • Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
    • Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
    • Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
  • LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out our documentation for a complete list.
  • Explore LaunchDarkly

Release files for launchdarkly-observability 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for launchdarkly-observability 1.3.3
File Size Uploaded
launchdarkly_observability-1.3.3.tar.gz 46.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for launchdarkly-observability 1.3.3
File Interpreter ABI Platform
launchdarkly_observability-1.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 107.2 kB

Release files / launchdarkly_observability-1.3.3.tar.gz

Download URL launchdarkly_observability-1.3.3.tar.gz
Size 46.6 kB
Tags Source
SHA-256 checksum
How to use checksums
35d9d255dc91131e3fba7f4c30220b5e86875f499b67d4bcce3760e9f2824302
BLAKE2b-256 checksum
How to use checksums
96a0762835f33baf6a26dadb7783e4d363bf51711445afc13ef49013445e455e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.21 Linux/6.17.0-1022-azure

Release files / launchdarkly_observability-1.3.3-py3-none-any.whl

Download URL launchdarkly_observability-1.3.3-py3-none-any.whl
Size 60.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
579a41acca8bfb22121332408356f03ea05ec0eb30bdb1cc56d78500b6ba2c82
BLAKE2b-256 checksum
How to use checksums
aca54ca41fd1366d99d2144049a9a46a340d1bfc0f7a6489124cc452bf12a0d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.21 Linux/6.17.0-1022-azure

Release history Release notifications | RSS feed

This release

1.3.3 This release

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page