-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathspec.yaml
More file actions
166 lines (158 loc) · 4.55 KB
/
Copy pathspec.yaml
File metadata and controls
166 lines (158 loc) · 4.55 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
name: Prefect
files:
- name: prefect.yaml
discovery:
strategies:
- strategy: from_ports
port_hints:
- 4200
candidates:
- prefect_url: "http://{service.host}:{port.number}/api"
options:
- template: init_config
options:
- template: init_config/default
- template: instances
options:
- name: prefect_url
required: true
description: The URL of the Prefect Server API.
value:
type: string
example: http://localhost:4200/api
fleet_configurable: false
- name: work_pool_names
description: |
A mapping of work pool name patterns to include or exclude, with each entry being a regular expression.
Patterns defined in `exclude` will take precedence in case of overlap.
value:
type: object
example:
include:
- <WORK_POOL_NAME_REGEX_1>
- <WORK_POOL_NAME_REGEX_2>
exclude:
- <WORK_POOL_NAME_REGEX_1>
- <WORK_POOL_NAME_REGEX_2>
properties:
- name: include
type: array
items:
type: string
- name: exclude
type: array
items:
type: string
fleet_configurable: false
- name: work_queue_names
description: |
A mapping of work queue name patterns to include or exclude, with each entry being a regular expression.
Patterns defined in `exclude` will take precedence in case of overlap.
value:
type: object
example:
include:
- <WORK_QUEUE_NAME_REGEX_1>
- <WORK_QUEUE_NAME_REGEX_2>
exclude:
- <WORK_QUEUE_NAME_REGEX_1>
- <WORK_QUEUE_NAME_REGEX_2>
properties:
- name: include
type: array
items:
type: string
- name: exclude
type: array
items:
type: string
fleet_configurable: false
- name: deployment_names
description: |
A mapping of deployment name patterns to include or exclude, with each entry being a regular expression.
Patterns defined in `exclude` will take precedence in case of overlap.
value:
type: object
example:
include:
- <DEPLOYMENT_NAME_REGEX_1>
- <DEPLOYMENT_NAME_REGEX_2>
exclude:
- <DEPLOYMENT_NAME_REGEX_1>
- <DEPLOYMENT_NAME_REGEX_2>
properties:
- name: include
type: array
items:
type: string
- name: exclude
type: array
items:
type: string
fleet_configurable: false
- name: event_names
description: |
A mapping of event name patterns to include or exclude, with each entry being a regular expression.
Patterns defined in `exclude` will take precedence in case of overlap.
value:
type: object
example:
include:
- <EVENT_NAME_REGEX_1>
- <EVENT_NAME_REGEX_2>
exclude:
- <EVENT_NAME_REGEX_1>
- <EVENT_NAME_REGEX_2>
default:
include:
- ^prefect\.task-run\..*$
- ^prefect\.flow-run\..*$
- ^prefect\.[a-z-]+\.(ready|not-ready)$
properties:
- name: include
type: array
items:
type: string
- name: exclude
type: array
items:
type: string
fleet_configurable: false
- name: custom_headers
description: |
Additional HTTP headers to include in all requests to the Prefect API.
value:
type: object
example:
Authorization: "Bearer <YOUR_TOKEN>"
Custom-Header: "CustomValue"
fleet_configurable: false
- name: collect_events
description: |
Whether or not to send Prefect events to Datadog.
value:
type: boolean
example: false
default: false
fleet_configurable: false
- template: instances/default
- template: logs
example:
- type: file
source: prefect
service: prefect
path: /var/log/prefect/dd_log_1
log_processing_rules:
- type: multi_line
name: python_stack_trace
pattern: '^\d{2}:\d{2}:\d{2}\.\d{3} \|'
- name: auto_conf.yaml
options:
- template: ad_identifiers
overrides:
value.example:
- prefect
- template: auto_conf/discovery
overrides:
discovery.example:
metrics_prefix: prefect.server