117 lines
2.4 KiB
Django/Jinja
117 lines
2.4 KiB
Django/Jinja
[global_tags]
|
|
metrics_source="system_openstack"
|
|
[agent]
|
|
interval = "10s"
|
|
round_interval = true
|
|
metric_batch_size = 1000
|
|
metric_buffer_limit = 10000
|
|
collection_jitter = "0s"
|
|
flush_interval = "15s"
|
|
flush_jitter = "5s"
|
|
precision = ""
|
|
debug = false
|
|
quiet = false
|
|
hostname = ""
|
|
omit_hostname = false
|
|
[[outputs.prometheus_client]]
|
|
listen = ":9126"
|
|
[[inputs.cpu]]
|
|
percpu = true
|
|
totalcpu = true
|
|
fielddrop = ["time_*"]
|
|
[[inputs.disk]]
|
|
ignore_fs = ["tmpfs", "devtmpfs"]
|
|
[[inputs.diskio]]
|
|
[[inputs.kernel]]
|
|
[[inputs.mem]]
|
|
[[inputs.processes]]
|
|
[[inputs.swap]]
|
|
[[inputs.system]]
|
|
[[inputs.kernel_vmstat]]
|
|
[[inputs.net]]
|
|
[[inputs.netstat]]
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/vmtime.sh",
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "30s"
|
|
commands = [
|
|
"/opt/telegraf/bin/osapitime.sh",
|
|
]
|
|
timeout = "60s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/etcd_get_metrics.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/k8s_get_metrics.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.openstack]]
|
|
interval = '40s'
|
|
identity_endpoint = "http://keystone.ccp.svc.cluster.local:5000/v3"
|
|
domain = "default"
|
|
project = "admin"
|
|
username = "admin"
|
|
password = "password"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/iostat_per_device.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/per_process_cpu_usage.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/entropy.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "60s"
|
|
commands = [
|
|
"/opt/telegraf/bin/numa_stat_per_pid.sh"
|
|
]
|
|
timeout = "60s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/memory_bandwidth.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/list_openstack_processes.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|
|
[[inputs.exec]]
|
|
interval = "15s"
|
|
commands = [
|
|
"/opt/telegraf/bin/network_tcp_queue.sh"
|
|
]
|
|
timeout = "30s"
|
|
data_format = "influx"
|