Skip to content

Commit

Permalink
fix: add INFLUXDB_MEASUREMENT for influxdb-annotate
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Jul 11, 2017
1 parent 0d166c5 commit 96ffa45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ server_scripts_influxdb_annotate_port: "8086"
server_scripts_influxdb_annotate_user: ""
server_scripts_influxdb_annotate_password: ""
server_scripts_influxdb_annotate_database: ""
server_scripts_influxdb_annotate_measurement: "event"

server_scripts_influxdb_clientstat_nginx_log: /var/log/nginx/clientstat.access.log

Expand Down
1 change: 1 addition & 0 deletions templates/server-scripts.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ INFLUXDB_PORT="{{ server_scripts_influxdb_annotate_port }}"
INFLUXDB_USER="{{ server_scripts_influxdb_annotate_user }}"
INFLUXDB_PASSWORD="{{ server_scripts_influxdb_annotate_password }}"
INFLUXDB_DATABASE="{{ server_scripts_influxdb_annotate_database }}"
INFLUXDB_MEASUREMENT="{{ server_scripts_influxdb_annotate_measurement }}"

# influxdb-clientstat
INFLUXDB_CLIENTSTAT_NGINX_LOG_FILE="{{ server_scripts_influxdb_clientstat_nginx_log }}"
Expand Down

0 comments on commit 96ffa45

Please sign in to comment.