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

Uploaded Python 3

File details

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

File metadata

  • Download URL: launchdarkly_observability-1.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 dfcb94c477eea5c65cf804ee2dbbc2f08460dc9884c0b9c3fe1b9d243ee6fc65
MD5 ebe6bc19c2408d46dfed7e2d2f5d182b
BLAKE2b-256 959ba4f017cdf44fca40ca56e81162bd2b5e7ccab6f6868d89850dd49e33d5ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for launchdarkly_observability-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab80587a45533fd77612f2de422ce3ff334033bfc516eb7419d4557776d90765
MD5 950c812a4f656ad1d8ee152a47059c23
BLAKE2b-256 c606e2ed422c3defba36d1918f0540667692c3e555d06b3596b3835e5711320e

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