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.metrics.log_metric function like so:

import astro_observe_sdk as observe

# then, in your task
@task
def my_task():
    observe.metrics.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.1.tar.gz (148.9 kB view details)

Uploaded Source

Built Distribution

astro_observe_sdk-0.0.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for astro_observe_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5b74eb1d1a6596a18856f5caf8ee42d8f98b53b93dda23b042d672758318b9af
MD5 30313db25b97c2c89fc29194ac10e839
BLAKE2b-256 ac0cc4dbe47a48b32919ece48f418ad53a02d5f75959ad7c34529287b46da9da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astro_observe_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a57a246b0b0fb3b2797acbf472d5d34a4a70af5b15dc29118fdd42fdfee373
MD5 a4150aefdc11c8d3882b45841fb33be1
BLAKE2b-256 dd7d127c66ebfd7358f4a9cd10962804efdf9b0b41bab97ad4679fa435dcda14

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