Skip to main content

An Airflow Plugin and Operator for alternative methods of running Telescope

Project description

Astronomer Aeroscope Provider

The Astronomer Aeroscope Provider contains a Plugin and Operator from Astronomer. These provide a method to run Telescope in environments where other methods are unavailable

Installation

Add the following line to your requirements.txt in your source environment:

astronomer-aeroscope

Usage Option 1) Plugin Usage

  • Navigate to the top navigation bar in your Source Airflow environment.
  • Click the Astronomer menu, then Run Report

Usage Option 2) Operator Usage

  • Add the following DAG to your source Airflow environment
from datetime import datetime

from airflow.models import DAG
from astronomer.aeroscope.operators import AeroscopeOperator

with DAG(
  dag_id="astronomer_aeroscope",
  schedule_interval=None,
  start_date=datetime(2021, 1, 1),
) as dag:
  AeroscopeOperator(
      task_id="run_report",
      presigned_url='{{ dag_run.conf["presigned_url"] }}',
      organization='{{ dag_run.conf["organization"] }}',
  )
  • Trigger the astronomer_aeroscope DAG with the configuration given by your Astronomer Representative
{
	"presigned_url": "presigned-url-here",
	"organization": "organization-name-here"
}

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

astronomer-aeroscope-0.9.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

astronomer_aeroscope-0.9.1-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

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