-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env
118 lines (98 loc) · 3.25 KB
/
.env
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
########################### Engine Configuration ###############################################
##
## Security Token
## - Community token is valid for a year and up to 10 jobs (alerts, reporting, etc.)
##
ENGINE_TOKEN=eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJjb21tdW5pdHkiOnRydWUsImxpbWl0IjoxMCwiaWF0IjoxNzI4MjQyMDE0LCJleHAiOjE3NTk3OTk2MTQsImF1ZCI6IkNvbW11bml0eSIsImlzcyI6Imh0dHBzOi8vdm9sa292bGFicy5pbyIsInN1YiI6IkJ1c2luZXNzIEludGVsbGlnZW5jZSAyLjAuMCIsImp0aSI6IjcwNTQwNjdkLTA3ZjctNGQ1ZC1iMmQ2LTkyMzIyNTg0ZWU1NSJ9.H9qLbcFwLHAmEnwzwIXK8KIysXk2daKDYRiFGcWJmta9d2nE1kFWRIxPlSuXej5YaQAndPMyb3ILQ8TR8KnSzzdxhz7I9hQ0GgUHT_7n3xaE5P1ql6FSJsWAgtlrFRDsHrtczjwdEXISYgvcu8-JxJ6P8jdF4kD2rTnda8FKPzOdEiC6YG2vvSVm11GEzJRuDlWesw-STcvYQijbYMHFvft2Qy73t-wXMhAGhZlbJVA5sh23xPkI3P-FeWu-rh6cqjMHGpwV8PtNKSDxXe4hW-vhl0OcmD-wDZ_oWUSyZxbDxpWY-ACjumy1q1rvJF133NsjgyztD95l4YJ62iSyxV1KQfxs3Qp3TTfZn9WQ9dOg_eDR1C7KtayoiCx3N9TWEV7m-6wo5SIaq-DTZL_MxqaDv7jz1Rfc4EIHdqp-InkluON1W6OdNc8aBHkqXaEEl28L61E1frq-5f_z7UfKwAwknLFna-HhRYyw8HkRknK6piBJF76rQUA5K4iDBlhlXJ7NwDh_T7KJLThOPEsRX8fgNRl5qt-SyukwIo2tcSyHyLkiaqp1w0_gG4ycDYWJQtrIIYrh85x4T8Tt1lyDxNCIEQJLPldaybbNzl0MfWOlGilf8LX46rY848CFzpf9M8ZiwhOEIG2deE8ZVygf3ThCQbaKeB6WvBUD7mJgvok
##
## Log Level
## - 'info' for general messages
## - 'warn' for additional messages
## - 'debug' for debugging messages
##
ENGINE_LOG_LEVEL=debug
##
## API Server Port
##
ENGINE_SERVER_PORT=3001
##
## Scheduler Port for Prometheus Metrics
##
ENGINE_SCHEDULER_PORT=3002
##
## Batch size to process Alerts with Repeat By Variables
##
ENGINE_ALERT_BATCH_SIZE=2
##
## Batch size to create annotations
##
ENGINE_ALERT_ANNOTATIONS_BATCH_SIZE=5
##
## Unique Node Id for distributed alert scheduling
## Should be unique for each Engine
##
ENGINE_NODE_ID=1
##
## Generate and start Swagger for API documentation
## UI is available at ENGINE_SERVER_PORT/swagger
##
## ENGINE_API_DOCUMENTATION=true
########################### Database Configuration #############################################
##
## Database (Timescale) Host
##
DATABASE_HOST=database
##
## Database (Timescale) Port
##
DATABASE_PORT=5432
##
## Database (Timescale) User
##
DATABASE_USERNAME=postgres
##
## Database (Timescale) Password
##
DATABASE_PASSWORD=postgres
########################### Remote Grafana Configuration #######################################
##
## Grafana HTTP API
##
GRAFANA_URL=http://grafana:3000
## Service Account
## - Viewer permission is required to access dashboards
## - Editor permission is required to access dashboards and add Annotations
##
GRAFANA_TOKEN=SERVICE-ACCOUNT-TOKEN
##
## Grafana Health-Check timeout, ms
## Waiting for Grafana availability for (Timeout * Number of Retries / 1000 ) seconds
##
GRAFANA_HEALTH_CHECK_TIMEOUT=1000
##
## Grafana Health-Check number of retries
##
GRAFANA_HEALTH_CHECK_RETRY=5
##
## Grafana Data Source requests timeout, ms
##
GRAFANA_REQUEST_TIMEOUT=30000
########################### Manager Grafana Configuration ###########################
##
## API Server URL to configure Engine Data Source
##
ENGINE_URL=http://engine:3001
##
## Anonymous Authentication
##
GF_AUTH_ANONYMOUS_ENABLED=true
##
## Default Theme
##
GF_USERS_DEFAULT_THEME=light
##
## Disable Native Alerting and Explore
##
GF_ALERTING_ENABLED=false
GF_EXPLORE_ENABLED=false
GF_UNIFIED_ALERTING_ENABLED=false