-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsettings.toml
More file actions
30 lines (23 loc) · 1.23 KB
/
settings.toml
File metadata and controls
30 lines (23 loc) · 1.23 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
# Storage Configuration
# Choose ONE storage backend by setting the connection string
storage_connection_string = "postgres://postgres:postgres@localhost:5432/sensapp"
# Alternative storage backends (uncomment one to use):
# storage_connection_string = "sqlite://sensapp.db"
# storage_connection_string = "duckdb://sensapp.db"
# storage_connection_string = "bigquery://key.json?project_id=PROJECT&dataset_id=DATASET"
# storage_connection_string = "rrdcached://localhost:42217?preset=munin"
# Network Configuration
#endpoint = "0.0.0.0"
# Optional Configuration
# Sentry DSN for error tracking (leave commented to disable)
# sentry_dsn = "https://your-dsn@your-sentry-instance/project-id"
# Storage sync timeout in seconds (default: 15)
# storage_sync_timeout_seconds = 30
# JWT Authentication (optional)
# Set to a random string of at least 32 characters to enable JWT auth.
# When unset, all endpoints are open (default — like Prometheus).
# jwt_secret = "change-me-to-a-real-secret-at-least-32-chars"
# InfluxDB Configuration
# Use Numeric/Decimal (high precision) for InfluxDB numeric values instead of Float (default: false)
# Numeric (Decimal) is precise but slower; Float (f64) is faster but has limited precision
# influxdb_with_numeric = false