-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathspec.yaml
More file actions
60 lines (60 loc) · 1.52 KB
/
Copy pathspec.yaml
File metadata and controls
60 lines (60 loc) · 1.52 KB
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
name: Gearman
fleet_configurable: true
files:
- name: gearmand.yaml
discovery:
strategies:
- strategy: from_ports
port_hints:
- 4730
candidates:
- server: "{service.host!s}"
port: "{port.number}"
options:
- template: init_config
options:
- template: init_config/default
- template: instances
options:
- name: server
description: Server to connect to.
fleet_configurable: true
value:
example: "127.0.0.1"
type: string
- name: port
description: Port to use when connecting to "server".
fleet_configurable: true
value:
example: 4730
type: integer
- name: tasks
description: |
Use the `tasks` parameter to specify the tasks you'd like to
collect metrics on (up to 200 tasks).
If you have fewer than 200 tasks, you don't have to set this parameter,
the metrics are collected on all the tasks by default.
fleet_configurable: true
value:
type: array
items:
type: string
example:
- <TASK_1>
- <TASK_2>
- template: instances/default
- template: logs
example:
- type: file
path: /var/log/gearmand.log
source: gearman
- name: auto_conf.yaml
options:
- template: ad_identifiers
overrides:
value.example:
- gearmand
- template: auto_conf/discovery
overrides:
discovery.example:
metrics_prefix: gearman