updated Readme
This commit is contained in:
parent
b02aa80426
commit
96c8bb3203
|
@ -10,9 +10,8 @@ domains. You can read Dovecot's documentation
|
||||||
# Read metrics about docker containers
|
# Read metrics about docker containers
|
||||||
[[inputs.dovecot]]
|
[[inputs.dovecot]]
|
||||||
# Dovecot Endpoint
|
# Dovecot Endpoint
|
||||||
# To use TCP, set endpoint = "tcp://[ip]:[port]"
|
# To use TCP, set endpoint = "ip:port"
|
||||||
# To use environment variables (ie, docker-machine), set endpoint = "ENV"
|
server = ["127.0.0.1:24242"]
|
||||||
endpoint = "unix:///var/run/docker.sock"
|
|
||||||
# Only collect metrics for these domains, collect all if empty
|
# Only collect metrics for these domains, collect all if empty
|
||||||
domains_names = []
|
domains_names = []
|
||||||
|
|
||||||
|
@ -23,32 +22,24 @@ domains. You can read Dovecot's documentation
|
||||||
domain string
|
domain string
|
||||||
reset_timestamp time.Time
|
reset_timestamp time.Time
|
||||||
last_update time.Time
|
last_update time.Time
|
||||||
num_logins int
|
num_logins int64
|
||||||
num_cmds int
|
num_cmds int64
|
||||||
num_connected_sessions int
|
num_connected_sessions int64
|
||||||
user_cpu float32
|
user_cpu float32
|
||||||
sys_cpu float32
|
sys_cpu float32
|
||||||
clock_time float64
|
clock_time float64
|
||||||
min_faults int
|
min_faults int64
|
||||||
maj_faults int
|
maj_faults int64
|
||||||
vol_cs int
|
vol_cs int64
|
||||||
invol_cs int
|
invol_cs int64
|
||||||
disk_input int
|
disk_input int64
|
||||||
disk_output int
|
disk_output int64
|
||||||
read_count int
|
read_count int64
|
||||||
read_bytes int
|
read_bytes int64
|
||||||
write_count int
|
write_count int64
|
||||||
write_bytes int
|
write_bytes int64
|
||||||
mail_lookup_path int
|
mail_lookup_path int64
|
||||||
mail_lookup_attr int
|
mail_lookup_attr int64
|
||||||
mail_read_count int
|
mail_read_count int64
|
||||||
mail_read_bytes int
|
mail_read_bytes int64
|
||||||
mail_cache_hits int
|
mail_cache_hits int64
|
||||||
|
|
||||||
### Example Output:
|
|
||||||
|
|
||||||
```
|
|
||||||
% ./telegraf -config ~/ws/telegraf.conf -input-filter docker -test
|
|
||||||
* Plugin: docker, Collection 1
|
|
||||||
|
|
||||||
```
|
|
Loading…
Reference in New Issue