Skip to content

Instantly share code, notes, and snippets.

@syossan27
Created December 19, 2019 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syossan27/926bb2d35fa0b7930f040941631fc064 to your computer and use it in GitHub Desktop.
Save syossan27/926bb2d35fa0b7930f040941631fc064 to your computer and use it in GitHub Desktop.
files:
"/etc/telegraf/telegraf.conf"
mode: "000666"
owner: root
group: root
content: |
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "60s"
flush_jitter = "0s"
precision = ""
hostname = ""
omit_hostname = false
[[inputs.docker]]
endpoint = "unix:///var/run/docker.sock"
gather_services = false
container_names = []
source_tag = false
container_name_include = []
container_name_exclude = ["ecs-agent"]
timeout = "5s"
perdevice = true
total = false
docker_label_include = []
docker_label_exclude = []
[[outputs.cloudwatch]]
region = "ap-northeast-1"
namespace = "test"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment