Skip to main content

An Airflow and Python SDK for working with the Astro Observe platform

Project description

observe-sdk

An Airflow and Python SDK for working with the Astro Observe platform

Installation

Add the following to your requirements.txt:

astro-observe-sdk==0.0.1

Usage

Metrics

The Observe SDK allows you to emit metrics during Airflow task execution to get tracked in the Observe backend. To do so, use the astro_observe_sdk.log_metric function like so:

import astro_observe_sdk as observe

# then, in your task
@task
def my_task():
    observe.log_metric('my_metric', 42)

Project details


Download files

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

Source Distribution

astro_observe_sdk-0.0.3.tar.gz (149.6 kB view details)

Uploaded Source

Built Distribution

astro_observe_sdk-0.0.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file astro_observe_sdk-0.0.3.tar.gz.

File metadata

  • Download URL: astro_observe_sdk-0.0.3.tar.gz
  • Upload date:
  • Size: 149.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.18

File hashes

Hashes for astro_observe_sdk-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cfd3a0323b9326dbf47365844874563807b2293de05231a97e0cbf85e059aa0b
MD5 8e392d71d94f290c56201b43ed6dc854
BLAKE2b-256 e775d762a546803e02205a1a5122246bdf4c2297b2953ea5900366ceeef27391

See more details on using hashes here.

File details

Details for the file astro_observe_sdk-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for astro_observe_sdk-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e53e2ff98ab3637a42673326560c23bc9d5d721ffbbb67bc136d6d2618025aa4
MD5 39747a88028152921351ce816f9d7085
BLAKE2b-256 3a2a9bef7df2a64895604233a9ead820575e8cf8ac05cd5fc0b12f742c881209

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page