9e706b13a3
Currently the only outputs plugin used is influxdb. This adds prometheus_client outputs plugin and its directives as options. The telegraf.conf.j2 template has been updated to check for the outputs_prometheus_client variable and two other related variables. New variable names and default values are shown in vars.yml. Change-Id: I8d9380a4cc2ea58b4ad98b9fc964d45ff82090ed Signed-off-by: Melvin Hillsman <mrhillsman@gmail.com>
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
---
|
|
# Copyright 2016, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
|
|
# Grafana vars
|
|
grafana_port: 8089
|
|
grafana_db_name: grafana
|
|
grafana_db_user: grafana
|
|
grafana_db_password: secrete
|
|
grafana_admin_password: SuperSecrete
|
|
|
|
# InfluxDB vars
|
|
influxdb_admin_port: 8083
|
|
influxdb_port: 8086
|
|
influxdb_db_name: telegraf
|
|
influxdb_db_retention: 90d
|
|
influxdb_db_retention_policy: openstack
|
|
influxdb_db_replication: 1
|
|
influxdb_db_root_name: root
|
|
influxdb_db_root_password: SuperSecrete
|
|
influxdb_db_metric_user: openstack
|
|
influxdb_db_metric_password: SuperDuperSecrete
|
|
|
|
# Kapacitor Vars
|
|
kapacitor_port: 9092
|
|
|
|
# Influxdb Relay vars
|
|
influxdb_relay_port: 9096
|
|
|
|
# Prometheus Client Outputs Plugin
|
|
#outputs_prometheus_client: true
|
|
#outputs_prometheus_client_listen: ":9126"
|
|
#outputs_prometheus_client_expiration_interval: "60s"
|