1
0

pghero.yml 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. databases:
  2. primary:
  3. # Database URL (defaults to app database)
  4. # url: <%= ENV["DATABASE_URL"] %>
  5. # Add more databases
  6. # other:
  7. # url: <%= ENV["OTHER_DATABASE_URL"] %>
  8. # Minimum time for long running queries
  9. # long_running_query_sec: 60
  10. # Minimum average time for slow queries
  11. # slow_query_ms: 20
  12. # Minimum calls for slow queries
  13. # slow_query_calls: 100
  14. # Minimum connections for high connections warning
  15. # total_connections_threshold: 500
  16. # Statement timeout for explain
  17. # explain_timeout_sec: 10
  18. # Time zone (defaults to app time zone)
  19. # time_zone: "Pacific Time (US & Canada)"
  20. # Basic authentication
  21. # username: admin
  22. # password: secret
  23. # Stats database URL (defaults to app database)
  24. # stats_database_url: <%= ENV["PGHERO_STATS_DATABASE_URL"] %>
  25. # AWS configuration (defaults to app AWS config)
  26. # also need aws_db_instance_identifier with each database
  27. # aws_access_key_id: ...
  28. # aws_secret_access_key: ...
  29. # aws_region: us-east-1
  30. override_csp: false