Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
SECRET_KEY = 'cepowqjcenwqcnewqoinwqowq'
DEBUG = True
ALERTMANAGER_URL = 'http://demo.robustperception.io:9093/api/v1/'
PLUGINS_PRODUCTION = [
# Some static statuses.
{
'plugin': 'static',
'name': 'static test',
'config': {
'statuses': [
base.Status('Test status', 5, 'http://foo/#5'),
base.Status('Other test', 2, 'http://bar/#1')
]
}
},
# For a specific job.
{
'plugin': 'alertmanager',
'name': 'alertmanager-labels',
'config': {
'api': ALERTMANAGER_URL,
'labels': {'job': 'prometheus'},
'defcon': 2,
}
},
# For a specific receiver.
{
'plugin': 'alertmanager',