justwatchcom / sql_exporter

Flexible SQL Exporter for Prometheus.
MIT License
402 stars 109 forks source link

Add support to inject environment variables into the config.yml #56

Closed dewey closed 2 years ago

dewey commented 2 years ago

This feature adds support to inject environment variables directly into the config.yml.

Example:

- 'snowflake://{{SNOWFLAKE_USERNAME}}:{{SNOWFLAKE_PASSWORD}}@example.gcp/warehouse/schema?warehouse=RO_S&role=RO'