Skip to content

simonsobs/nextline-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A plugin of nextline-graphql. Emit alerts to Campana

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages