Summary
There are increasing use cases for operating Logflare in environments without external network connectivity (e.g. closed networks, testing environments).
Currently, connection checks to each Finch pool (such as BigQuery, Datadog, etc.) are performed, resulting in warnings or errors when there is no external network available.
Request
- Please add a feature to control whether connection checks to each pool (such as
Finch.get_pool_status) are executed, via an environment variable (e.g. LOGFLARE_ENABLE_POOL_CHECK).
- By default, connection checks should be enabled. If the environment variable is set to
false, these checks should be skipped.
- The main targets are the
finch function in lib/logflare/system_metrics/cluster.ex and other pool connection check processes.
Benefits
- Allows safe operation of Logflare in environments without external service connectivity.
- Prevents unnecessary warnings and errors.
Reference
- Example: Set
LOGFLARE_ENABLE_POOL_CHECK=false to skip connection checks.
Thank you for your consideration.