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.5.tar.gz (149.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: astro_observe_sdk-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 3cdc84cf5279fd8fdf85ae62db0718fc55c5bdf324e21efbd9ebe9ef081a3e62
MD5 74ced04dec2e9731ea4dc8a9f4660b23
BLAKE2b-256 09b10ebc22c5e8a5a62517c25b81068bd02e0400abbaa9a08a4dca8408f91c45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astro_observe_sdk-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fea52f1ffcbe54c2dfe47e39a0159a45844675bd263d14ed536cb4ae2123796c
MD5 fbc17edeb07c7f4b200d7514d6fcf346
BLAKE2b-256 0748d30e138779e3dbbc80752b898468ad99963d4fe373f5c41abe51db67eedd

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