-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathconfig.schema.yaml
More file actions
230 lines (230 loc) · 7.76 KB
/
config.schema.yaml
File metadata and controls
230 lines (230 loc) · 7.76 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# Code generated by mdatagen. DO NOT EDIT.
$defs:
metrics_config:
description: MetricsConfig provides config for apache metrics.
type: object
properties:
apache.connections.async:
description: "ApacheConnectionsAsyncMetricConfig provides config for the apache.connections.async metric."
type: object
properties:
enabled:
type: boolean
default: true
aggregation_strategy:
type: string
enum:
- "sum"
- "avg"
- "min"
- "max"
default: "avg"
attributes:
type: array
items:
type: string
enum:
- "connection_state"
default:
- "connection_state"
apache.cpu.load:
description: "ApacheCPULoadMetricConfig provides config for the apache.cpu.load metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.cpu.time:
description: "ApacheCPUTimeMetricConfig provides config for the apache.cpu.time metric."
type: object
properties:
enabled:
type: boolean
default: true
aggregation_strategy:
type: string
enum:
- "sum"
- "avg"
- "min"
- "max"
default: "sum"
attributes:
type: array
items:
type: string
enum:
- "level"
- "mode"
default:
- "level"
- "mode"
apache.current_connections:
description: "ApacheCurrentConnectionsMetricConfig provides config for the apache.current_connections metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.load.1:
description: "ApacheLoad1MetricConfig provides config for the apache.load.1 metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.load.15:
description: "ApacheLoad15MetricConfig provides config for the apache.load.15 metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.load.5:
description: "ApacheLoad5MetricConfig provides config for the apache.load.5 metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.request.time:
description: "ApacheRequestTimeMetricConfig provides config for the apache.request.time metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.request_rate.count:
description: "ApacheRequestRateCountMetricConfig provides config for the apache.request_rate.count metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.request_rate.io.transmitted:
description: "ApacheRequestRateIoTransmittedMetricConfig provides config for the apache.request_rate.io.transmitted metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.requests:
description: "ApacheRequestsMetricConfig provides config for the apache.requests metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.scoreboard:
description: "ApacheScoreboardMetricConfig provides config for the apache.scoreboard metric."
type: object
properties:
enabled:
type: boolean
default: true
aggregation_strategy:
type: string
enum:
- "sum"
- "avg"
- "min"
- "max"
default: "sum"
attributes:
type: array
items:
type: string
enum:
- "state"
default:
- "state"
apache.traffic:
description: "ApacheTrafficMetricConfig provides config for the apache.traffic metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.uptime:
description: "ApacheUptimeMetricConfig provides config for the apache.uptime metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.worker.limit:
description: "ApacheWorkerLimitMetricConfig provides config for the apache.worker.limit metric."
type: object
properties:
enabled:
type: boolean
default: true
apache.workers:
description: "ApacheWorkersMetricConfig provides config for the apache.workers metric."
type: object
properties:
enabled:
type: boolean
default: true
aggregation_strategy:
type: string
enum:
- "sum"
- "avg"
- "min"
- "max"
default: "sum"
attributes:
type: array
items:
type: string
enum:
- "state"
default:
- "state"
resource_attributes_config:
description: ResourceAttributesConfig provides config for apache resource attributes.
type: object
properties:
apache.server.name:
description: ResourceAttributeConfig provides common config for a apache.server.name resource attribute.
type: object
properties:
enabled:
type: boolean
default: true
metrics_include:
description: "Experimental: MetricsInclude defines a list of filters for attribute values. If the list is not empty, only metrics with matching resource attribute values will be emitted."
type: array
items:
$ref: go.opentelemetry.io/collector/filter.config
metrics_exclude:
description: "Experimental: MetricsExclude defines a list of filters for attribute values. If the list is not empty, metrics with matching resource attribute values will not be emitted. MetricsInclude has higher priority than MetricsExclude."
type: array
items:
$ref: go.opentelemetry.io/collector/filter.config
apache.server.port:
description: ResourceAttributeConfig provides common config for a apache.server.port resource attribute.
type: object
properties:
enabled:
type: boolean
default: true
metrics_include:
description: "Experimental: MetricsInclude defines a list of filters for attribute values. If the list is not empty, only metrics with matching resource attribute values will be emitted."
type: array
items:
$ref: go.opentelemetry.io/collector/filter.config
metrics_exclude:
description: "Experimental: MetricsExclude defines a list of filters for attribute values. If the list is not empty, metrics with matching resource attribute values will not be emitted. MetricsInclude has higher priority than MetricsExclude."
type: array
items:
$ref: go.opentelemetry.io/collector/filter.config
metrics_builder_config:
description: MetricsBuilderConfig is a configuration for apache metrics builder.
type: object
properties:
metrics:
$ref: metrics_config
resource_attributes:
$ref: resource_attributes_config