54 lines
1.8 KiB
Text
54 lines
1.8 KiB
Text
# Collects performance metrics from OpenStack services
|
|
[[inputs.openstack]]
|
|
## The recommended interval to poll is '30m'
|
|
|
|
## The identity endpoint to authenticate against and get the service catalog from.
|
|
authentication_endpoint = "https://my.openstack.cloud:5000"
|
|
|
|
## The domain to authenticate against when using a V3 identity endpoint.
|
|
# domain = "default"
|
|
|
|
## The project to authenticate as.
|
|
# project = "admin"
|
|
|
|
## User authentication credentials. Must have admin rights.
|
|
username = "admin"
|
|
password = "password"
|
|
|
|
## Available services are:
|
|
## "agents", "aggregates", "cinder_services", "flavors", "hypervisors",
|
|
## "networks", "nova_services", "ports", "projects", "servers",
|
|
## "serverdiagnostics", "services", "stacks", "storage_pools", "subnets",
|
|
## "volumes"
|
|
# enabled_services = ["services", "projects", "hypervisors", "flavors", "networks", "volumes"]
|
|
|
|
## Query all instances of all tenants for the volumes and server services
|
|
## NOTE: Usually this is only permitted for administrators!
|
|
# query_all_tenants = true
|
|
|
|
## output secrets (such as adminPass(for server) and UserID(for volume)).
|
|
# output_secrets = false
|
|
|
|
## Amount of time allowed to complete the HTTP(s) request.
|
|
# timeout = "5s"
|
|
|
|
## HTTP Proxy support
|
|
# http_proxy_url = ""
|
|
|
|
## Optional TLS Config
|
|
# tls_ca = /path/to/cafile
|
|
# tls_cert = /path/to/certfile
|
|
# tls_key = /path/to/keyfile
|
|
## Use TLS but skip chain & host verification
|
|
# insecure_skip_verify = false
|
|
|
|
## Options for tags received from Openstack
|
|
# tag_prefix = "openstack_tag_"
|
|
# tag_value = "true"
|
|
|
|
## Timestamp format for timestamp data received from Openstack.
|
|
## If false format is unix nanoseconds.
|
|
# human_readable_timestamps = false
|
|
|
|
## Measure Openstack call duration
|
|
# measure_openstack_requests = false
|