This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
/
.env
207 lines (172 loc) · 6.82 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# For a more detailed description of the configuration variables please visit: https://docs.chaosgenius.io/docs/Operator_Guides/Configuration/Config%20Parameters
# User Configurable Variables
## Webapp URL
# URL of the Chaos Genius deployment. Usually, this will be http://<ip-address-or-hostname>:8080/ (http://localhost:8080/ in local installations).
CHAOSGENIUS_WEBAPP_URL=http://localhost:8080/
## Analytics
### Common Analytics Configuration
# Sets the days offset from the current date till which your KPI's will run for.
DAYS_OFFSET_FOR_ANALTYICS=2
# Sets the hours offset from the latest data point till which Anomaly Detection will run for your KPI.
HOURS_OFFSET_FOR_ANALTYICS=0
# Timezone on which all your analytics are reported.
TIMEZONE=UTC
# Synctime for your metadata
METADATA_SYNC_TIME=03:00
### KPI Configuration
# Sets the maximum number of rows allowed for a KPI to be added.
MAX_ROWS_IN_KPI=10000000
### Anomaly Configuration
# Enables the generation of multi-dimensional subgroups.
MULTIDIM_ANALYSIS_FOR_ANOMALY=False
# Sets the maximum number of unique values allowed in a dimension.
MAX_SUBDIM_CARDINALITY=1000
# Sets the maximum number of dimensions shown in the Anomaly Drill Downs.
TOP_DIMENSIONS_FOR_ANOMALY_DRILLDOWN=10
# The minimum population in a subgroup.
MIN_DATA_IN_SUBGROUP=30
# Sets the maximum number of sud-dimensions shown in the Anomaly Sub-dimensions page.
TOP_SUBDIMENSIONS_FOR_ANOMALY=10
# Sets the maximum number of subgroups considered for Anomaly Detection
MAX_FILTER_SUBGROUPS_ANOMALY=250
# Sets the maximum number of days for which we can have no data and still consider the KPI for Anomaly Detection.
MAX_ANOMALY_SLACK_DAYS=14
### Summary and DeepDrills Configuration
# Sets the maximum number of days for which we can have no data and still consider the KPI for Summary and DeepDrills.
MAX_SUMMARY_DEEPDRILLS_SLACK_DAYS=14
# Sets the enabled time ranges for which Summary and DeepDrills is computed as comma separated values.
SUMMARY_DEEPDRILLS_ENABLED_TIME_RANGES=last_30_days,last_7_days,previous_day,month_on_month,month_to_date,week_on_week,week_to_date
# Enables or disables DeepDrills.
DEEPDRILLS_ENABLED=False
# Sets the maximum number of rows in the first level of the DeepDrills' drilldowns.
DEEPDRILLS_HTABLE_MAX_PARENTS=5
# Sets the maximum number of rows in the subsequent levels of the DeepDrills' drilldowns.
DEEPDRILLS_HTABLE_MAX_CHILDREN=5
# Sets the maximum depth of the drilldowns in DeepDrills.
DEEPDRILLS_HTABLE_MAX_DEPTH=3
## Sentry Logging (leave empty to disable backend telemetry)
SENTRY_DSN=
## Enterprise Edition Key
CHAOSGENIUS_ENTERPRISE_EDITION_KEY=
# System Configuration
## Frontend Configuration
REACT_APP_BASE_URL=
REACT_APP_DISABLE_TELEMETRY=false
## Backend Configuration
### Flask Server
FLASK_APP=run
FLASK_ENV=production
FLASK_DEBUG=0
FLASK_RUN_PORT=5000
SECRET_KEY="t8GIEp8hWmR8y6VLqd6qQCMXzjRaKsx8nRruWNtFuec="
SEND_FILE_MAX_AGE_DEFAULT=31556926
CORS_ENABLED=False
### Database Configuration
DB_HOST=chaosgenius-db
DB_USERNAME=postgres
DB_PASSWORD=chaosgenius
DB_PORT=5432
META_DATABASE=chaosgenius
DATA_DATABASE=chaosgenius_data
DATABASE_URL_CG_DB=postgresql+psycopg2://postgres:chaosgenius@chaosgenius-db/chaosgenius
INTEGRATION_SERVER=http://server:8001
INTEGRATION_DB_HOST=chaosgenius-db
INTEGRATION_DB_USERNAME=postgres
INTEGRATION_DB_PASSWORD=chaosgenius
INTEGRATION_DB_PORT=5432
INTEGRATION_DATABASE=chaosgenius_data
#### Celery Configuration
CELERY_RESULT_BACKEND=redis://chaosgenius-redis:6379/1
CELERY_BROKER_URL=redis://chaosgenius-redis:6379/1
# Alert configuration
## to enable event alerts
REACT_APP_EVENT_ALERT=true
# Docker volume mounts
CG_DB_DOCKER_MOUNT=cg_db
# Caching timeout for APIs
CACHE_DEFAULT_TIMEOUT=1
# Number of last checkpoints to retrieve in Task Monitor
TASK_CHECKPOINT_LIMIT=1000
# Version identification
CHAOSGENIUS_VERSION_POSTFIX=git
## CG-Airbyte
AIRBYTE_ENABLED=False
# === airbyte env vars start here ===
VERSION=0.29.12-alpha
##########################
# SOURCES LIST
# Set value to 'true' if the source is required, 'false' otherwise.
##########################
# Enabling these data sources requires the third-party version. Please install the third-party version or upgrade to it.
SOURCE_GOOGLE_ANALYTICS=true
SOURCE_GOOGLE_SHEETS=true
SOURCE_MYSQL=false
SOURCE_POSTGRES=false
SOURCE_SHOPIFY=false
SOURCE_STRIPE=false
SOURCE_GOOGLE_ADS=false
SOURCE_FACEBOOK_ADS=false
SOURCE_BING_ADS=false
SOURCE_GOOGLE_BIG_QUERY=false
SOURCE_SNOWFLAKE=false
# Airbyte Internal Job Database, see https://docs.airbyte.io/operator-guides/configuring-airbyte-db
DATABASE_USER=docker
DATABASE_PASSWORD=docker
DATABASE_HOST=db
DATABASE_PORT=5432
DATABASE_DB=airbyte
# translate manually DATABASE_URL=jdbc:postgresql://${DATABASE_HOST}:${DATABASE_PORT/${DATABASE_DB}
DATABASE_URL=jdbc:postgresql://db:5432/airbyte
# airbyte network - use the default network created by docker-compose for CG
DOCKER_NETWORK=chaos_genius_default
# Airbyte Internal Config Database, default to reuse the Job Database when they are empty
# Usually you do not need to set them; they are explicitly left empty to mute docker compose warnings
CONFIG_DATABASE_USER=
CONFIG_DATABASE_PASSWORD=
CONFIG_DATABASE_URL=
# When using the airbyte-db via default docker image:
CONFIG_ROOT=/data
DATA_DOCKER_MOUNT=airbyte_data
DB_DOCKER_MOUNT=airbyte_db
# Temporal.io worker configuration
TEMPORAL_HOST=airbyte-temporal:7233
# Workspace storage for running jobs (logs, etc)
WORKSPACE_ROOT=/tmp/workspace
WORKSPACE_DOCKER_MOUNT=airbyte_workspace
# Local mount to access local files from filesystem
# todo (cgardens) - when we are mount raw directories instead of named volumes, *_DOCKER_MOUNT must
# be the same as *_ROOT.
# Issue: https://github.com/airbytehq/airbyte/issues/578
LOCAL_ROOT=/tmp/airbyte_local
LOCAL_DOCKER_MOUNT=/tmp/airbyte_local
# todo (cgardens) - hack to handle behavior change in docker compose. *_PARENT directories MUST
# already exist on the host filesystem and MUST be parents of *_ROOT.
# Issue: https://github.com/airbytehq/airbyte/issues/577
HACK_LOCAL_ROOT_PARENT=/tmp
SUBMITTER_NUM_THREADS=10
# Miscellaneous
TRACKING_STRATEGY=segment
WEBAPP_URL=http://localhost:8000/
API_URL=/api/v1/
INTERNAL_API_HOST=airbyte-server:8001
LOG_LEVEL=INFO
WORKER_ENVIRONMENT=docker
# Cloud log backups. Don't use this unless you know what you're doing. Mainly for Airbyte devs.
# If you just want to capture Docker logs, you probably want to use something like this instead:
# https://docs.docker.com/config/containers/logging/configure/
S3_LOG_BUCKET=
S3_LOG_BUCKET_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
S3_MINIO_ENDPOINT=
S3_PATH_STYLE_ACCESS=
GCP_STORAGE_BUCKET=
# Docker Resource Limits
RESOURCE_CPU_REQUEST=
RESOURCE_CPU_LIMIT=
RESOURCE_MEMORY_REQUEST=
RESOURCE_MEMORY_LIMIT=
# Max attempts per sync and max retries per attempt
MAX_SYNC_JOB_ATTEMPTS=3
# Time in days to reach a timeout to cancel the synchronization
MAX_SYNC_TIMEOUT_DAYS=3