blob: 56aceb150409996edabb142e47e784510af8c6ef [file] [log] [blame]
:mod:`airflow.contrib.sensors.datadog_sensor`
=============================================
.. py:module:: airflow.contrib.sensors.datadog_sensor
Module Contents
---------------
.. py:class:: DatadogSensor(datadog_conn_id='datadog_default', from_seconds_ago=3600, up_to_seconds_from_now=0, priority=None, sources=None, tags=None, response_check=None, *args, **kwargs)
Bases: :class:`airflow.sensors.base_sensor_operator.BaseSensorOperator`
A sensor to listen, with a filter, to datadog event streams and determine
if some event was emitted.
Depends on the datadog API, which has to be deployed on the same server where
Airflow runs.
:param datadog_conn_id: The connection to datadog, containing metadata for api keys.
:param datadog_conn_id: str
.. attribute:: ui_color
:annotation: = #66c3dd
.. method:: poke(self, context)