[8.10] [docs] Explain max payload size in RUM source map docs (#165732) (#166277)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[docs] Explain max payload size in RUM source map docs
(#165732)](https://github.com/elastic/kibana/pull/165732)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Brandon
Morelli","email":"brandon.morelli@elastic.co"},"sourceCommit":{"committedDate":"2023-09-12T15:22:08Z","message":"[docs]
Explain max payload size in RUM source map docs (#165732)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/observability-docs/issues/3021.","sha":"ddf1db09f90b45c363fcd875fc7363a245aca969","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.9.0","v8.10.0","v8.11.0"],"number":165732,"url":"https://github.com/elastic/kibana/pull/165732","mergeCommit":{"message":"[docs]
Explain max payload size in RUM source map docs (#165732)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/observability-docs/issues/3021.","sha":"ddf1db09f90b45c363fcd875fc7363a245aca969"}},"sourceBranch":"main","suggestedTargetBranches":["8.9","8.10"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165732","number":165732,"mergeCommit":{"message":"[docs]
Explain max payload size in RUM source map docs (#165732)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/observability-docs/issues/3021.","sha":"ddf1db09f90b45c363fcd875fc7363a245aca969"}}]}]
BACKPORT-->

Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
This commit is contained in:
Kibana Machine 2023-09-12 11:44:13 -04:00 committed by GitHub
parent 065b0c1d1c
commit 173521b824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -503,6 +503,16 @@ The following APIs are available:
* <<rum-sourcemap-get>>
* <<rum-sourcemap-delete>>
[float]
[[limit-sourcemap-api]]
==== Max payload size
{kib}'s maximum payload size is 1mb.
If you attempt to upload a source map that exceeds the max payload size, you will get a `413` error.
Before uploading source maps that exceed this default, change the maximum payload size allowed by {kib}
with the <<server-maxPayload,`server.maxPayload`>> variable.
[float]
[[use-sourcemap-api]]
==== How to use APM APIs