You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration-process.asciidoc
+51-24Lines changed: 51 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,8 @@ max_procs: 4
17
17
----
18
18
19
19
[float]
20
-
=== Configuration options `apm-server.*`
20
+
[[configuration-apm-server]]
21
+
=== Configuration options: `apm-server.*`
21
22
22
23
[[host]]
23
24
[float]
@@ -26,24 +27,12 @@ Defines the host and port the server is listening on.
26
27
Use "unix:/path/to.sock" to listen on a unix domain socket.
27
28
Defaults to 'localhost:8200'.
28
29
29
-
[[max_unzipped_size]]
30
-
[float]
31
-
==== `max_unzipped_size`
32
-
Maximum permitted size of an unzipped request accepted by the server to be processed (in Bytes).
33
-
Defaults to 31457280 Bytes (30 MB).
34
-
35
30
[[max_header_size]]
36
31
[float]
37
32
==== `max_header_size`
38
33
Maximum permitted size of a request's header accepted by the server to be processed (in Bytes).
39
34
Defaults to 1048576 Bytes (1 MB).
40
35
41
-
[[max_request_queue_time]]
42
-
[float]
43
-
==== `max_request_queue_time`
44
-
Maximum duration a request will be queued before being read.
45
-
Defaults to 2 seconds.
46
-
47
36
[[read_timeout]]
48
37
[float]
49
38
==== `read_timeout`
@@ -62,32 +51,64 @@ Defaults to 30 seconds.
62
51
Maximum duration in seconds before releasing resources when shutting down the server.
63
52
Defaults to 5 seconds.
64
53
54
+
[float]
55
+
[[configuration-v1-api]]
56
+
=== Configuration options: v1 Intake API deprecated[6.5]
57
+
58
+
Version 6.5 of the APM Server introduced a new intake API. You can learn more about this change in the <<intake-api-changes-65, intake API changes>> documentation.
59
+
60
+
If you do not upgrade your APM Agent, you'll continue to use the deprecated v1 intake API endpoint, and thus, the following configuration options.
61
+
62
+
[[max_unzipped_size]]
63
+
[float]
64
+
==== `max_unzipped_size` deprecated[6.5]
65
+
Maximum permitted size of an unzipped request accepted by the server to be processed (in Bytes).
66
+
Defaults to 31457280 Bytes (30 MB).
67
+
68
+
[[max_request_queue_time]]
69
+
[float]
70
+
==== `max_request_queue_time` deprecated[6.5]
71
+
Maximum duration a request will be queued before being read.
72
+
Defaults to 2 seconds.
73
+
65
74
[[concurrent_requests]]
66
75
[float]
67
-
==== `concurrent_request`
76
+
==== `concurrent_request` deprecated[6.5]
68
77
Maximum number of requests the server can process concurrently.
69
78
Read more about how to tune data ingestion by <<adjust-concurrent-requests, adjusting concurrent_requests>>.
70
79
Default value is 5.
71
80
81
+
[float]
82
+
[[configuration-v2-api]]
83
+
=== Configuration options: v2 Intake API
84
+
85
+
Version 6.5 of the APM Server introduced a new intake API. You can learn more about this change in the <<intake-api-changes-65, intake API changes>> documentation.
86
+
87
+
The following configuration options only affect users that have upgraded their agent to take advantage of the new v2 intake API.
88
+
89
+
[[max_event_size]]
90
+
[float]
91
+
==== `max_event_size`
92
+
Maximum permitted size of an event accepted by the server to be processed (in Bytes).
93
+
Defaults to 307200 Bytes.
94
+
95
+
[float]
96
+
[[configuration-other]]
97
+
=== Configuration options: general
98
+
72
99
[[max_connections]]
73
100
[float]
74
101
==== `max_connections`
75
102
Maximum number of TCP connections to accept simultaneously.
76
103
Default value is 0, which means _unlimited_.
77
104
78
-
[[instrumentation.enabled]]
79
-
[float]
80
-
==== `instrumentation.enabled`
81
-
Enables self instrumentation of the APM Server itself.
82
-
Disabled by default.
83
-
84
105
[[config-secret-token]]
85
106
[float]
86
107
==== `secret_token`
87
108
Authorization token for sending data to the APM server.
88
109
If a token is set, the agents must send it in the following format:
89
110
Authorization: Bearer <secret-token>.
90
-
The token is not used for RUM endpoints. By default no authorization token is set.
111
+
The token is not used for RUM endpoints. By default, no authorization token is set.
91
112
92
113
It is recommended to use an authorization token in combination with SSL enabled.
93
114
Read more about <<securing-apm-server, Securing APM Server>> and the <<secret-token, secret token>>.
@@ -111,6 +132,12 @@ Disabled by default.
111
132
Configure the url to expose expvar.
112
133
Defaults to `debug/vars`.
113
134
135
+
[[instrumentation.enabled]]
136
+
[float]
137
+
==== `instrumentation.enabled`
138
+
Enables self instrumentation of the APM Server itself.
139
+
Disabled by default.
140
+
114
141
[[metrics.enabled]]
115
142
[float]
116
143
==== `metrics`
@@ -129,9 +156,9 @@ Defaults to false.
129
156
Overwrites existing pipeline definitions in Elasticsearch. Defaults to true.
130
157
131
158
[float]
132
-
=== Configuration options `queue.mem.*`
159
+
=== Configuration options: `queue.mem.*`
133
160
Data is buffered in a memory queue before it is published to the configured output.
134
-
`queue.mem.*` settings modify the queue behaviour.
161
+
`queue.mem.*` settings modify the queue behavior.
135
162
136
163
[[mem.events]]
137
164
[float]
@@ -155,7 +182,7 @@ if the number of events stored in the queue is < _min_flush_events_.
@@ -26,35 +26,74 @@ For enabling RUM support, set the `apm-server.rum.enabled` to `true`.
26
26
By default this is disabled.
27
27
28
28
[float]
29
-
==== `rate_limit`
29
+
[[configuration-rum-v1]]
30
+
=== Configuration options: v1 RUM endpoint deprecated[6.5]
31
+
32
+
Version 6.5 of the APM Server introduced a new intake API. You can learn more about this change in the <<intake-api-changes-65, intake API changes>> documentation.
33
+
34
+
If you do not upgrade your APM Agent, you'll continue to use the deprecated v1 RUM intake API endpoint, and thus, the following configuration options.
35
+
36
+
[float]
37
+
==== `rate_limit` deprecated[6.5]
30
38
Rate limit per second and IP address for requests sent to the RUM endpoint.
31
39
If the rate limit is hit, the APM Server will return an HTTP status code `429`.
32
40
The rate limit cannot be disabled. Ensure to have it set to a number suiting your requirements.
33
41
Default value is set to 10.
34
42
43
+
[float]
44
+
[[configuration-rum-v2]]
45
+
=== Configuration options: v2 RUM endpoint
46
+
47
+
Version 6.5 of the APM Server introduced a new intake API. You can learn more about this change in the <<intake-api-changes-65, intake API changes>> documentation.
48
+
49
+
The following configuration options only affect users that have upgraded their agent to take advantage of the new v2 intake API.
50
+
51
+
[float]
52
+
==== `event_rate.limit`
53
+
Defines the maximum amount of events allowed to be sent to the APM Server v2 RUM endpoint per ip per second.
54
+
Defaults to 300.
55
+
56
+
[float]
57
+
==== `event_rate.lru_size`
58
+
An LRU cache is used to keep a rate limit per IP for the most recently seen IPs.
59
+
This setting defines the number of unique IPs that can be tracked in the cache.
60
+
Sites with many concurrent clients should consider increasing this limit.
61
+
Defaults to 1000.
62
+
63
+
[float]
64
+
[[configuration-rum-general]]
65
+
=== Configuration options: general
66
+
35
67
[float]
36
68
==== `allow_origins`
37
-
Comma separated list of permitted origins for RUM supprt.
69
+
Comma separated list of permitted origins for RUM support.
38
70
User-agents send an Origin header that will be validated against this list.
39
71
This is done automatically by modern browsers as part of the https://www.w3.org/TR/cors/[CORS specification].
40
-
An origin is made of a protocol scheme, host and port, without the url path.
72
+
An origin is made of a protocol scheme, host and port, without the URL path.
41
73
Default value is set to `['*']`, which allows everything.
42
74
43
75
[float]
44
76
==== `library_pattern`
45
-
Regexp to be matched against a stacktrace frame's `file_name` and `abs_path` attributes.
46
-
If the regexp matches, the stacktrace frame is considered to be a library frame.
47
-
When source mapping is applied the `error.culprit` is set to reflect the _function_ and the _filename_
48
-
of the first not library frame.
77
+
RegExp to be matched against a stacktrace frame's `file_name` and `abs_path` attributes.
78
+
If the RegExp matches, the stacktrace frame is considered to be a library frame.
79
+
When source mapping is applied, the `error.culprit` is set to reflect the _function_ and the _filename_
80
+
of the first non library frame.
49
81
This aims to provide an entry point for identifying issues.
50
82
Default value is `"node_modules|bower_components|~"`.
51
83
52
84
[float]
53
85
==== `exclude_from_grouping`
54
-
Regexp to be matched against a stacktrace frame's `file_name`.
55
-
If the regexp matches, the stacktrace frame is excluded from being used for calculating error groups.
86
+
RegExp to be matched against a stacktrace frame's `file_name`.
87
+
If the RegExp matches, the stacktrace frame is excluded from being used for calculating error groups.
56
88
The default pattern excludes stacktrace frames that have a filename starting with `/webpack`.
57
89
90
+
[[config-sourcemapping-elasticsearch]]
91
+
[float]
92
+
==== `source_mapping.elasticsearch`
93
+
Configure the Elasticsearch source map retrieval location, taking the same options as <<elasticsearch-output,output.elasticsearch>>.
94
+
This must be set when using an output other than Elasticsearch, and that output is writing to Elasticsearch.
95
+
Otherwise leave this section empty.
96
+
58
97
[[rum-sourcemap-cache]]
59
98
[float]
60
99
==== `source_mapping.cache.expiration`
@@ -64,15 +103,7 @@ Source maps are fetched from Elasticsearch and then kept in an in-memory cache f
64
103
Values configured without a time unit are treated as seconds.
65
104
Default value is 5 minutes.
66
105
67
-
[[config-sourcemapping-elasticsearch]]
68
-
[float]
69
-
==== `source_mapping.elasticsearch`
70
-
Configure the Elasticsearch source map retrieval location, taking the same options as <<elasticsearch-output,output.elasticsearch>>.
71
-
This must be set when using an output other than Elasticsearch, and that output is writing to Elasticsearch.
72
-
Othewise leave this section empty.
73
-
74
106
[float]
75
107
==== `source_mapping.index_pattern`
76
-
Source maps are stored in a seperate index `apm-%{[beat.version]}-sourcemap` by default.
77
-
If changed, a matching index pattern needs to be specified here.
78
-
108
+
Source maps are stored in a separate index `apm-%{[beat.version]}-sourcemap` by default.
109
+
If changed, a matching index pattern needs to be specified here.
0 commit comments