-
Notifications
You must be signed in to change notification settings - Fork 6
/
.example.env
93 lines (74 loc) · 2.65 KB
/
.example.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
# copy this file to .env and fill in the values
# path to google cloud credentials file
ANOMSTACK_GOOGLE_APPLICATION_CREDENTIALS=
# can also be set as json string
ANOMSTACK_GOOGLE_APPLICATION_CREDENTIALS_JSON=
# gcp related env vars
ANOMSTACK_GCP_PROJECT_ID=
# snowflake related env vars
ANOMSTACK_SNOWFLAKE_ACCOUNT=
ANOMSTACK_SNOWFLAKE_USER=
ANOMSTACK_SNOWFLAKE_PASSWORD=
ANOMSTACK_SNOWFLAKE_WAREHOUSE=
# aws related env vars
ANOMSTACK_AWS_ACCESS_KEY_ID=
ANOMSTACK_AWS_SECRET_ACCESS_KEY=
# local duckdb path for testing/dev quickstart
ANOMSTACK_DUCKDB_PATH=tmpdata/anomstack-duckdb.db
# local sqlite path for testing/dev quickstart
ANOMSTACK_SQLITE_PATH=tmpdata/anomstack-sqlite.db
# table id to store metrics in
ANOMSTACK_TABLE_KEY=tmp.metrics
# path for where to store models
# local path
ANOMSTACK_MODEL_PATH=local://./tmp/models
# for gcs bucket
# ANOMSTACK_MODEL_PATH=gs://your-bucket/models
# for s3 bucket
# ANOMSTACK_MODEL_PATH=s3://your-bucket/models
# slack bot token for alerting
# ANOMSTACK_SLACK_BOT_TOKEN=
# slack channel for alerting
# ANOMSTACK_SLACK_CHANNEL=
# flag to ignore examples folder
ANOMSTACK_IGNORE_EXAMPLES=no
# email alerting related env vars
ANOMSTACK_ALERT_EMAIL_FROM=
ANOMSTACK_ALERT_EMAIL_TO=
ANOMSTACK_ALERT_EMAIL_SMTP_HOST=smtp.gmail.com
ANOMSTACK_ALERT_EMAIL_SMTP_PORT=587
ANOMSTACK_ALERT_EMAIL_PASSWORD=
# email failure alerting related env vars
# ANOMSTACK_FAILURE_EMAIL_FROM=
# ANOMSTACK_FAILURE_EMAIL_TO=
# ANOMSTACK_FAILURE_EMAIL_SMTP_HOST=smtp.gmail.com
# ANOMSTACK_FAILURE_EMAIL_SMTP_PORT=587
# ANOMSTACK_FAILURE_EMAIL_PASSWORD=
# dagster related env vars
ANOMSTACK_DAGSTER_LOCAL_ARTIFACT_STORAGE_DIR=tmp
ANOMSTACK_DAGSTER_OVERALL_CONCURRENCY_LIMIT=10
ANOMSTACK_DAGSTER_DEQUEUE_USE_THREADS=false
ANOMSTACK_DAGSTER_DEQUEUE_NUM_WORKERS=4
ANOMSTACK_DAGSTER_LOCAL_COMPUTE_LOG_MANAGER_DIRECTORY=tmp
ANOMSTACK_DAGSTER_SQLITE_STORAGE_BASE_DIR=tmp
# OpenAI env vars for LLM based alerts
ANOMSTACK_OPENAI_KEY=
ANOMSTACK_OPENAI_MODEL=gpt-4o-mini
# Anthropic env vars for LLM based alerts
ANOMSTACK_ANTHROPIC_KEY=
ANOMSTACK_ANTHROPIC_MODEL=claude-3-haiku-20240307
# LLM platform to use for LLM based alerts, can be openai or anthropic
ANOMSTACK_LLM_PLATFORM=openai
# some dagster env vars
DAGSTER_LOG_LEVEL=DEBUG
DAGSTER_CONCURRENCY=4
DAGSTER_HOME=
# max runtime for a job in dagster
# https://docs.dagster.io/deployment/run-monitoring#general-run-timeouts
ANOMSTACK_MAX_RUNTIME_SECONDS_TAG=3600
# postgres related env vars
ANOMSTACK_POSTGRES_USER=postgres_user
ANOMSTACK_POSTGRES_PASSWORD=postgres_password
ANOMSTACK_POSTGRES_DB=postgres_db
# leave blank if you don't want to forward the port locally for monitoring etc.
ANOMSTACK_POSTGRES_FORWARD_PORT=5432