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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astro_observe_sdk-0.0.8-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for astro_observe_sdk-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b8a1629791abb237f9dfed43a1233e88698e1fc838480d32307270d3836fab3d
MD5 6c60aac640e2408d4415ed1fc7ac629f
BLAKE2b-256 c162be089d91d33fb0d2720a81a48a71672d92323c7557d15ec58397901d0888

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astro_observe_sdk-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed156b9b76d4979bf9ecd682dd326a0f2a14966a83866f5b0b10fb06e0060cf
MD5 3dd955d0dae7136841b56e1bd4273e6e
BLAKE2b-256 3ca1cd3acb08850d96fde362428788c02d3b8ae9518b1d5fa2fe07ae4798c93b

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 Pingdom Monitoring Sentry Error logging StatusPage Status page