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.2.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.2-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: launchdarkly_observability-1.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1253253a84f79a3b22c73923ed98ec6b15d044eaceb3f5252b0d6aace47cd620
MD5 d23be18800da7d1464ab176e9da26928
BLAKE2b-256 9335f1b31983139a334f608a302101a25e3f804238ff681b0f7e8f541a5e3370

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for launchdarkly_observability-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1b0318e7086a166596636c99027a5e80b778598b234c793dd55a72094008fa1
MD5 0f1cd69152425dd7e381c233f26f622c
BLAKE2b-256 309034db8965940d6c8b82fc99633f0718210ed4751b48adcdff7595923d3056

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