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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: astro_observe_sdk-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 8eb921f9f80ce01d5c676b5b03c71444126e098cd887991c1dc61d700db7a848
MD5 41231eb4b0dae33f6e4587ba06789631
BLAKE2b-256 75997adf4c1a990fccdf0f62791b034184b0358e689f57589c96165931e04b92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astro_observe_sdk-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e3d3752cb3394494a4e31e3b66551ff261f215203007bd43f82c46f36fa5ac
MD5 e26a97a1d3f9c3392eb86a8f6ddb7558
BLAKE2b-256 6f1a91d06ac2dd45ab7f5076963b0b5849fa5714cc3284abb0240a69e7ed33e7

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