-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use startup script in windows task
- Loading branch information
1 parent
7d0198c
commit e915e9e
Showing
2 changed files
with
30 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
& '{{ postgres_exporter_install_path }}\postgres_exporter.exe' ` | ||
{% if postgres_exporter_tls_server_config | length or postgres_exporter_http_server_config | length or postgres_exporter_basic_auth_users | length %} | ||
--web.config.file '{{ postgres_exporter_config_path }}\web_config.yaml' ` | ||
{% endif %} | ||
--web.listen-address {{ postgres_exporter_web_listen_address }}:{{ postgres_exporter_web_listen_port }} ` | ||
--web.telemetry-path {{ postgres_exporter_web_telemetry_path }} ` | ||
{% for collector in postgres_exporter_collectors %} | ||
--{{ collector }} ` | ||
{% endfor %} | ||
{% if postgres_exporter_disable_default_metrics | bool %} | ||
--disable-default-metrics ` | ||
{% endif %} | ||
{% if postgres_exporter_disable_settings_metrics | bool %} | ||
--disable-settings-metrics ` | ||
{% endif %} | ||
{% if postgres_exporter_extend_query_path | length %} | ||
--extend.query-path {{ postgres_exporter_extend_query_path }} ` | ||
{% endif %} | ||
--log.level {{ postgres_exporter_log_level }} ` | ||
--log.format {{ postgres_exporter_log_format }} |