Skip to main content

A plugin of nextline-graphql. Emit alerts to Campana

Project description

nextline-alert

PyPI - Version PyPI - Python Version

Test Status Test Status codecov

A plugin for nextline-graphql. Emit alerts to Campana

Installation

pip install nextline-alert

Alert types

  • Run failed: The script execution by nextline ended with an uncaught exception except for KeyboardInterrupt.
  • Idle: The time specified by NEXTLINE_ALERT__IDLE_TIMEOUT_MINUTES minutes has passed without the script execution since the last run ended or the backend started.

Configuration

Environment variable Default value Description
NEXTLINE_ALERT__CAMPANA_URL http://httpbin.org/post The CAMPANA endpoint
NEXTLINE_ALERT__PLATFORM localhost The platform name
NEXTLINE_ALERT__IDLE_TIMEOUT_MINUTES 20.0 The idle timeout in minutes

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

nextline_alert-0.10.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

nextline_alert-0.10.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file nextline_alert-0.10.1.tar.gz.

File metadata

  • Download URL: nextline_alert-0.10.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nextline_alert-0.10.1.tar.gz
Algorithm Hash digest
SHA256 a551b12f5e62eebd13bd5934dbbe12f0c1c69d07790ff85f1b861bcf5366de83
MD5 d9f4e7d08f5de13184aa9eb71ad13bc8
BLAKE2b-256 cece0ffade7431b2c0e7a9b447294a5b884410c7cd2c50c93c68b69a8122536f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextline_alert-0.10.1.tar.gz:

Publisher: pypi.yml on simonsobs/nextline-alert

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nextline_alert-0.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nextline_alert-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a54198e864a3249337f48e967164a14ba569a42079352ead727676de3f81e2ae
MD5 d671336fff0b55f45962cf47b8c0e36c
BLAKE2b-256 376680ca1f74e78c1c4392d40adeab1837068068b7cd9b993234253847b9d735

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextline_alert-0.10.1-py3-none-any.whl:

Publisher: pypi.yml on simonsobs/nextline-alert

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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