Files
2026-07-16 16:32:44 -04:00

22 lines
858 B
Plaintext

# App Config
APP_NAME="econet-exporter"
APP_LOG_LEVEL=info ## trace, debug, info, warn, error
APP_LOG_FORMAT=console ## console, json
APP_LOG_TIME_FORMAT=long ## long, short, unix, rfc3339, off
# Econet exporter config
ECONET_EMAIL="you@example.com"
ECONET_PASSWORD="changeme"
ECONET_COST_PER_KWH=0.12 ## US dollars per kWh (0.12 = 12 cents), for econet_energy_cost_dollars
ECONET_USAGE_INTERVAL=5m ## how often to poll energy/water usage history
ECONET_ENABLE_WEB_UI=true ## serve the admin UI at / (default true; set false to disable)
# App OTEL Config
APP_OTEL_STDOUT_ENABLED=true ## For testing only
APP_OTEL_METRIC_INTERVAL_SECS=15
# OTEL SDK Config
OTEL_EXPORTER_OTLP_ENDPOINT="otel-collector.otel.svc.cluster.local" # Set to your otel collector
OTEL_SERVICE_NAME="econet-exporter"
OTEL_RESOURCE_ATTRIBUTES="env=development,service.version=(devel)"