forked from BetterDB-inc/monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (47 loc) · 1.88 KB
/
Copy path.env.example
File metadata and controls
56 lines (47 loc) · 1.88 KB
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
DB_HOST=localhost
DB_PORT=6380
DB_USERNAME=default
DB_PASSWORD=devpassword
DB_TYPE=auto
# Storage Configuration
STORAGE_TYPE=sqlite
STORAGE_SQLITE_FILEPATH=./data/audit.db
# Audit Trail Configuration
AUDIT_POLL_INTERVAL_MS=60000
# License Configuration
BETTERDB_LICENSE_KEY=
ENTITLEMENT_URL=https://www.betterdb.com/api/v1/entitlements
RESEND_API_KEY=
RESEND_FROM_EMAIL=Kristiyan <kristiyan@betterdb.com>
CORS_ORIGINS=https://betterdb.com,http://localhost:3001,http://localhost:5173
LICENSE_CACHE_TTL_MS=3600000
LICENSE_MAX_STALE_MS=604800000
LICENSE_TIMEOUT_MS=10000
# Telemetry Configuration
TELEMETRY_PROVIDER=posthog
POSTHOG_API_KEY=
POSTHOG_HOST=https://eu.i.posthog.com
BETTERDB_TELEMETRY=true
# Registration (Vite build-time — baked into the JS bundle by `pnpm --filter web build`)
VITE_REGISTRATION_URL=https://www.betterdb.com/api/register
# Frontend Telemetry (Vite build-time)
VITE_PUBLIC_POSTHOG_PROJECT_TOKEN=
VITE_PUBLIC_POSTHOG_HOST=https://eu.i.posthog.com
# Key Analytics Configuration (Pro tier required)
KEY_ANALYTICS_SAMPLE_SIZE=10000
KEY_ANALYTICS_SCAN_BATCH_SIZE=1000
KEY_ANALYTICS_INTERVAL_MS=300000
# MONITOR — server-side value redaction
# When "true", value-position arguments of write commands (SET, HSET, MSET,
# SETEX, LPUSH, SADD, PUBLISH, ...) are replaced with <redacted> before
# captures are persisted to disk and before lines are streamed to the live
# tail. Keys, command verbs, and structural fields stay visible.
# Coverage is the common write surface; complex grammars (XADD, ZADD,
# BITFIELD, BITOP) are not scrubbed — leave the toggle off when those
# payloads are sensitive. Default off.
MONITOR_REDACT_VALUES=
# Test-only override that forces the pre-flight provider detector to a
# specific managed-provider id (e.g. "elasticache", "memorystore",
# "rediscloud", "upstash"). Bypasses host/INFO detection. Leave unset in
# production.
MONITOR_PROVIDER_OVERRIDE=