-
Notifications
You must be signed in to change notification settings - Fork 33
/
config.py
32 lines (28 loc) · 1.07 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- encoding: utf-8 -*-
import os
listen_host = '0.0.0.0' # defaults to "all interfaces"
listen_port = 8081
opsreport_start = '01/01/2013 12:00:00 AM'
timezone = os.environ.get('ANTHRACITE_TZ', 'America/New_York')
es_url = os.environ.get('ES_URL', 'http://localhost:9200')
es_index = os.environ.get('ES_INDEX', 'anthracite')
# list of tuples: first value of the tuple is a tag that you recommend/make
# extra visible on the forms, and 2nd value is a user friendly explanation.
recommended_tags = [
]
# Flexible schema:
# use this to add (optional) attributes to your event documents.
# forms will adjust themselves and the events will be stored accordingly.
# i.e. you can create events that have the field set, and ones that don't. and
# you can add it later if you have to.
from model import Attribute
extra_attributes = [
Attribute('outage_key', 'Outage key')
]
# "help" text to appear on forms
helptext = {
'outage_key': 'key to uniquely identify particular outages'
}
plugins = []
# you can try the vimeo plugins to get an idea:
#plugins = ['vimeo_analytics', 'vimeo_add_forms']