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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

launchdarkly_observability-1.3.0.tar.gz (46.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

launchdarkly_observability-1.3.0-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

File details

Details for the file launchdarkly_observability-1.3.0.tar.gz.

File metadata

  • Download URL: launchdarkly_observability-1.3.0.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

File hashes

Hashes for launchdarkly_observability-1.3.0.tar.gz
Algorithm Hash digest
SHA256 13add107218c43d38dda516bb8d8be3d50f1ee39d2ffa5410e8cbb9e445c0ef7
MD5 f310b4647d9ee1b31f9ff869e06d6eb4
BLAKE2b-256 be5a54088813834c5f10cc70b3958ca71d6470ff5a06d160e902d9ed0f287f12

See more details on using hashes here.

File details

Details for the file launchdarkly_observability-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for launchdarkly_observability-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 192eac57624f9e38eb8cfcf863fbb3c6a447508a69eb366d727a5ac1fb0ebe97
MD5 e41255c453d877349952846c64e64be2
BLAKE2b-256 53da1604081dd8b5d644ff6b78bdfd10dcd4783a8b1fb274d963624151f9a496

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page