-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
30 lines (23 loc) · 1.08 KB
/
env.example
File metadata and controls
30 lines (23 loc) · 1.08 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
# Database Intelligence MVP - Environment Configuration Example
# Copy this file to .env and fill in your values
# PostgreSQL Configuration (Required)
# Use a read-only user connected to a replica
PG_REPLICA_DSN=postgres://readonly_user:password@your-replica-host:5432/your-database?sslmode=require
# MySQL Configuration (Optional)
# Use a read-only user with access to performance_schema
MYSQL_READONLY_DSN=readonly_user:password@tcp(your-mysql-host:3306)/your-database?tls=true
# New Relic Configuration (Required)
NEW_RELIC_LICENSE_KEY=your-license-key-here
OTLP_ENDPOINT=https://otlp.nr-data.net:4317
# Experimental Mode Settings (Optional)
# Only used when running with --experimental flag
# Additional PostgreSQL databases for federation
PG_ANALYTICS_DSN=postgres://readonly_user:password@analytics-replica:5432/analytics?sslmode=require
# Enable specific experimental features
ENABLE_ASH_SAMPLING=true
ENABLE_PLAN_COLLECTION=false # Requires pg_querylens extension
ADAPTIVE_SAMPLING_ENABLED=true
CIRCUIT_BREAKER_ENABLED=true
# Resource limits for experimental mode
GOMEMLIMIT=1500MiB
GOGC=80