-
Notifications
You must be signed in to change notification settings - Fork 1
/
metricbeat.yml
60 lines (51 loc) · 1.25 KB
/
metricbeat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
metricbeat.config:
modules:
path: ${path.config}/modules.d/*.yml
# Reload module configs as they change:
reload.enabled: false
metricbeat.autodiscover:
providers:
- type: docker
hints.enabled: true
metricbeat.modules:
- module: docker
metricsets:
- "container"
- "cpu"
- "diskio"
- "healthcheck"
- "info"
#- "image"
- "memory"
- "network"
hosts: ["unix:///var/run/docker.sock"]
period: 30s
enabled: true
- module: golang
period: 30s
hosts: ["localhost:6060"]
heap.path: "/debug"
metricsets:
- "heap"
- "expvar"
expvar:
path: "/debug"
namespace: "example"
processors:
- add_cloud_metadata: ~
- add_docker_metadata:
host: "unix:///var/run/docker.sock"
#match_fields: ["system.process.cgroup.id"]
#match_pids: ["process.pid", "process.ppid"]
#match_source: true
#match_source_index: 4
#match_short_id: true
#cleanup_timeout: 60
# output.console:
# pretty: true
output.elasticsearch:
hosts: 'localhost:9200'
logging.to_stderr: true
setup.dashboards.enabled: true
setup.kibana:
host: http://localhost:5601