{{ ansible_managed | comment }} [global_tags] [agent] interval = "10s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 1000000 collection_jitter = "5s" flush_interval = "10s" flush_jitter = "5s" precision = "" hostname = "{{ ansible_fqdn }}" omit_hostname = false [[outputs.influxdb]] urls = ["https://{{ gitlab_telegraf.influxdb_endpoints | join('","https://') }}"] database = "telegraf" timeout = "5s" retention_policy = "{{ gitlab_telegraf.influxdb_retention_policy }}" retention_policy_tag = "{{ gitlab_telegraf.influxdb_retention_policy_tag }}" username = "{{ gitlab_telegraf.influxdb_username }}" password = "{{ gitlab_telegraf.influxdb_password }}" [[inputs.prometheus]] urls = ["http://{{ gitlab_domain }}/-/metrics?token={{ gitlab_telegraf.metrics_token }}"]