-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathspec.yaml
More file actions
91 lines (83 loc) · 3.28 KB
/
Copy pathspec.yaml
File metadata and controls
91 lines (83 loc) · 3.28 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: KrakenD
fleet_configurable: true
files:
- name: krakend.yaml
discovery:
strategies:
- template: discovery/openmetrics_from_ports
overrides:
port_hints:
- 9090
options:
- template: init_config
options:
- template: init_config/openmetrics
- name: go_metrics
description: |
Collect Go runtime metrics exposed by KrakenD's Prometheus endpoint.
Set to `false` to prevent Datadog from collecting these metrics, even if
KrakenD is configured to expose them (for example, for use with other monitoring tools).
Defaults to `true`, meaning Datadog will collect these metrics if available.
This setting in `init_config` provides a default for all instances; it can be overridden per instance.
fleet_configurable: true
value:
type: boolean
example: true
- name: process_metrics
description: |
Collect process metrics exposed by KrakenD's Prometheus endpoint.
Set to `false` to prevent Datadog from collecting these metrics, even if
KrakenD is configured to expose them (for example, for use with other monitoring tools).
Defaults to `true`, meaning Datadog will collect these metrics if available.
This setting in `init_config` provides a default for all instances; it can be overridden per instance.
fleet_configurable: true
value:
type: boolean
example: true
- template: instances
options:
- template: instances/openmetrics
- name: go_metrics
description: |
Collect Go runtime metrics exposed by KrakenD's Prometheus endpoint.
Set to `false` to prevent Datadog from collecting these metrics, even if
KrakenD is configured to expose them (for example, for use with other monitoring tools).
Defaults to `true`, meaning Datadog will collect these metrics if available.
This setting overrides the default provided in `init_config` for this specific instance.
If this is supplied for any of the instances, it will override the default provided in `init_config`.
fleet_configurable: true
value:
type: boolean
example: true
- name: process_metrics
description: |
Collect process metrics exposed by KrakenD's Prometheus endpoint.
Set to `false` to prevent Datadog from collecting these metrics, even if
KrakenD is configured to expose them (for example, for use with other monitoring tools).
Defaults to `true`, meaning Datadog will collect these metrics if available.
This setting overrides the default provided in `init_config` for this specific instance.
If this is supplied for any of the instances, it will override the default provided in `init_config`.
value:
type: boolean
example: true
fleet_configurable: false
- template: logs
example:
- type: docker
source: krakend
service: <SERVICE>
- name: auto_conf.yaml
options:
- template: ad_identifiers
overrides:
value.example:
- krakend
- template: auto_conf/cel_selector
overrides:
cel_selector.example:
processes:
- "process.name == 'krakend'"
- template: auto_conf/discovery
overrides:
discovery.example:
metrics_prefix: krakend.api