~verterok/charms/trusty/telegraf/fix-apt-install

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Guillermo Gonzalez
  • Date: 2016-03-31 13:28:55 UTC
  • mfrom: (15.1.2 proper-templates)
  • Revision ID: guillermo.gonzalez@canonical.com-20160331132855-261tohd3h15wqwx8
[r=noise] Support telegraf updates, use jinja templates for plugin templates and add extra_options config to be able to fine tune each plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    default: ""
67
67
    description: "[outputs.xxx] sections as base64 string"
68
68
  package_name:
69
 
    default: "telegraf_0.10.1-1_amd64.deb"
 
69
    default: "telegraf_0.10.1-1_amd64.deb" 
70
70
    type: string
71
71
    description: |
72
72
        Filename of telegraf deb package.  If this matches the
81
81
    default: ""
82
82
    type: string
83
83
    description: "GPG key for apt_repository"
 
84
  extra_options:
 
85
    default: ""
 
86
    type: string 
 
87
    description: |
 
88
        YAML with extra options for out|inputs managed by relations or in the default config.
 
89
        Values must be strings.
 
90
        example:
 
91
          inputs:
 
92
              cpu:
 
93
                  percpu: 'false'
 
94
                  fielddrop: '["time_*"]'
 
95
              disk:
 
96
                  mount_points: '["/"]'
 
97
                  ignore_fs: '["tmpfs", "devtmpfs"]'
 
98
              elasticsearch:
 
99
                  local: 'false' 
 
100
                  cluster_health: 'true'
 
101
              postgresql:
 
102
                  databases: '["foo", "bar"]'
 
103
                  tagpass: 
 
104
                      db: '["template", "postgres"]'
 
105
          outputs:
 
106
              influxdb:
 
107
                  precision: "ms" 
84
108