Skip to content

Commit b9ad011

Browse files
author
Docs User
committed
Updated docs
1 parent 26232cb commit b9ad011

10 files changed

+4109
-4095
lines changed

html/branches.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ apm-agent-python:
88
apm-server:
99
APM Server Reference/docs/6.0: f969145ae1d8cd8b2758b2a40e09bafe1224508d
1010
APM Server Reference/docs/6.1: e14c89a7ef072aeae28785839c0be4a53ce4b75e
11-
APM Server Reference/docs/master: cef42849d432e73c4d543a7efa6fff2c6c313b0e
11+
APM Server Reference/docs/master: 75c0e67ead2e3d8958b675ed4502eceb62b8c93c
1212
Getting Started with Elastic APM/docs/guide/6.0: f969145ae1d8cd8b2758b2a40e09bafe1224508d
1313
Getting Started with Elastic APM/docs/guide/6.1: e14c89a7ef072aeae28785839c0be4a53ce4b75e
1414
Getting Started with Elastic APM/docs/guide/master: cef42849d432e73c4d543a7efa6fff2c6c313b0e

html/en/apm/server/master/error-api.html

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -672,15 +672,16 @@ <h2 class="page-title">Guide template</h2>
672672
"type": ["string", "null"]
673673
},
674674
"exception": {
675-
"description": "A standard exception.",
675+
"description": "Information about the originally thrown error.",
676676
"type": ["object", "null"],
677677
"properties": {
678678
"code": {
679679
"type": ["string", "number", "null"],
680-
"maxLength": 1024
680+
"maxLength": 1024,
681+
"description": "The error code set when the error happened, e.g. database error code."
681682
},
682683
"message": {
683-
"description": "The exception's error message.",
684+
"description": "The original error message.",
684685
"type": "string"
685686
},
686687
"module": {
@@ -703,7 +704,8 @@ <h2 class="page-title">Guide template</h2>
703704
"maxLength": 1024
704705
},
705706
"uncaught": {
706-
"type": ["boolean", "null"]
707+
"type": ["boolean", "null"],
708+
"description": "Indicator whether the error was caught somewhere in the code or not."
707709
}
708710
},
709711
"required": ["message"]
@@ -715,26 +717,27 @@ <h2 class="page-title">Guide template</h2>
715717
},
716718
"log": {
717719
"type": ["object", "null"],
720+
"description": "Additional information added when logging the error.",
718721
"properties": {
719722
"level": {
720-
"description": "The record severity.",
723+
"description": "The severity of the record.",
721724
"type": ["string", "null"],
722725
"default": "error",
723726
"enum": ["debug", "info", "warning", "error", "fatal", null],
724727
"maxLength": 1024
725728
},
726729
"logger_name": {
727-
"description": "The name of the logger which created the record.",
730+
"description": "The name of the logger instance used.",
728731
"type": ["string", "null"],
729732
"default": "default",
730733
"maxLength": 1024
731734
},
732735
"message": {
733-
"description": "The exception's error message.",
736+
"description": "The additionally logged error message.",
734737
"type": "string"
735738
},
736739
"param_message": {
737-
"description": "A parametrized message. E.g. Could not connect to %s. The property message is still required, and should be equal to the param_message, but with placeholders replaced. In some situations the param_message is used to group errors together. The string is not interpreted, so feel free to use whichever placeholders makes sense in the client languange.",
740+
"description": "A parametrized message. E.g. 'Could not connect to %s'. The property message is still required, and should be equal to the param_message, but with placeholders replaced. In some situations the param_message is used to group errors together. The string is not interpreted, so feel free to use whichever placeholders makes sense in the client languange.",
738741
"type": ["string", "null"],
739742
"maxLength": 1024
740743

@@ -794,7 +797,7 @@ <h2 class="page-title">Guide template</h2>
794797
"minItems": 0
795798
},
796799
"framework": {
797-
"description": "Name and version of the used web framework",
800+
"description": "Name and version of the web framework used",
798801
"type": ["object", "null"],
799802
"properties": {
800803
"name": {
@@ -809,7 +812,7 @@ <h2 class="page-title">Guide template</h2>
809812
"required": ["name", "version"]
810813
},
811814
"language": {
812-
"description": "Name and version of the used programming language",
815+
"description": "Name and version of the programming language used",
813816
"type": ["object", "null"],
814817
"properties": {
815818
"name": {
@@ -906,7 +909,7 @@ <h2 class="page-title">Guide template</h2>
906909
"type": ["object", "null"],
907910
"properties": {
908911
"finished": {
909-
"description": "A boolean indicating the the response was finished",
912+
"description": "A boolean indicating whether the response was finished or not",
910913
"type": ["boolean", "null"]
911914
},
912915
"headers": {
@@ -932,7 +935,7 @@ <h2 class="page-title">Guide template</h2>
932935
},
933936
"tags": {
934937
"type": ["object", "null"],
935-
"description": "A flat mapping of tags with values.",
938+
"description": "A flat mapping of user-defined tags with values.",
936939
"regexProperties": true,
937940
"patternProperties": {
938941
"^[^.*\"]*$": {
@@ -1062,22 +1065,27 @@ <h2 class="page-title">Guide template</h2>
10621065
"properties": {
10631066
"raw": {
10641067
"type": ["string", "null"],
1068+
"description": "The raw, unparsed URL of the request, e.g https://example.com:443/search?q=elasticsearch#top.",
10651069
"maxLength": 1024
10661070
},
10671071
"protocol": {
10681072
"type": ["string", "null"],
1073+
"description": "The protocol of the request, e.g. 'https:'.",
10691074
"maxLength": 1024
10701075
},
10711076
"hostname": {
10721077
"type": ["string", "null"],
1078+
"description": "The hostname of the request, e.g. 'example.com'.",
10731079
"maxLength": 1024
10741080
},
10751081
"port": {
10761082
"type": ["string", "null"],
1083+
"description": "The port of the request, e.g. '443'",
10771084
"maxLength": 1024
10781085
},
10791086
"pathname": {
10801087
"type": ["string", "null"],
1088+
"description": "The path of the request, e.g. '/search'",
10811089
"maxLength": 1024
10821090
},
10831091
"search": {
@@ -1087,6 +1095,7 @@ <h2 class="page-title">Guide template</h2>
10871095
},
10881096
"hash": {
10891097
"type": ["string", "null"],
1098+
"description": "The hash of the request URL, e.g. 'top'",
10901099
"maxLength": 1024
10911100
}
10921101
}
@@ -1105,12 +1114,12 @@ <h2 class="page-title">Guide template</h2>
11051114
"type": ["object", "null"],
11061115
"properties": {
11071116
"id": {
1108-
"description": "An id, identifying the logged in user, e.g. the primary key of the user",
1117+
"description": "Identifier of the logged in user, e.g. the primary key of the user",
11091118
"type": ["string", "number", "null"],
11101119
"maxLength": 1024
11111120
},
11121121
"email": {
1113-
"description": "The email address of the logged in user",
1122+
"description": "Email of the logged in user",
11141123
"type": ["string", "null"],
11151124
"maxLength": 1024
11161125
},

html/en/apm/server/master/exported-fields-apm-error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ <h2 class="page-title">Guide template</h2>
613613

614614
<a href="exported-fields-apm-sourcemap.html">APM Sourcemap fields
615615
 »
616-
</a></span></div><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="exported-fields-apm-error"></a>APM Error fields<a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2></div></div></div><p>Error-specific data for APM</p><h3><a id="_literal_view_errors_literal"></a><code class="literal">view errors</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>format: url</p><h3><a id="_literal_error_id_icon_literal"></a><code class="literal">error id icon</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>format: url</p><h3><a id="_literal_error_id_literal"></a><code class="literal">error.id</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>A UUID4 error ID.</p><h3><a id="_literal_error_culprit_literal"></a><code class="literal">error.culprit</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: text</p><p>Function call which was the primary perpetrator of this event.</p><h3><a id="_literal_error_grouping_key_literal"></a><code class="literal">error.grouping_key</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>format: url</p><p>GroupingKey of the logged error for use in grouping.</p><h2><a id="_exception_fields"></a>exception fields<a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2><p>Information about the originally thrown error.</p><h3><a id="_literal_error_exception_code_literal"></a><code class="literal">error.exception.code</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The error code set when the error happened, e.g. database error code.</p><h3><a id="_literal_error_exception_message_literal"></a><code class="literal">error.exception.message</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: text</p><p>The original error message.</p><h3><a id="_literal_error_exception_module_literal"></a><code class="literal">error.exception.module</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The module namespace of the original error.</p><h3><a id="_literal_error_exception_type_literal"></a><code class="literal">error.exception.type</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><h3><a id="_literal_error_exception_uncaught_literal"></a><code class="literal">error.exception.uncaught</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: boolean</p><p>Indicator whether the error was caught somewhere in the code or not.</p><h2><a id="_log_fields"></a>log fields<a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2><p>Additional information added by logging the error.</p><h3><a id="_literal_error_log_level_literal"></a><code class="literal">error.log.level</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The severity of the record.</p><h3><a id="_literal_error_log_logger_name_literal"></a><code class="literal">error.log.logger_name</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The name of the used logger instance.</p><h3><a id="_literal_error_log_message_literal"></a><code class="literal">error.log.message</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: text</p><p>The additionally logged error message.</p><h3><a id="_literal_error_log_param_message_literal"></a><code class="literal">error.log.param_message</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>Equal to message, but with placeholders replaced.</p></div><div class="navfooter"><span class="prev"><a href="exported-fields-apm.html">
616+
</a></span></div><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="exported-fields-apm-error"></a>APM Error fields<a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2></div></div></div><p>Error-specific data for APM</p><h3><a id="_literal_view_errors_literal"></a><code class="literal">view errors</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>format: url</p><h3><a id="_literal_error_id_icon_literal"></a><code class="literal">error id icon</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>format: url</p><h2><a id="_error_fields"></a>error fields<a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2><p>Data captured by an agent representing an event occurring in a monitored service.</p><h3><a id="_literal_error_id_literal"></a><code class="literal">error.id</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>A UUID for the error.</p><h3><a id="_literal_error_culprit_literal"></a><code class="literal">error.culprit</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: text</p><p>Function call which was the primary perpetrator of this event.</p><h3><a id="_literal_error_grouping_key_literal"></a><code class="literal">error.grouping_key</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>format: url</p><p>GroupingKey of the logged error for use in grouping.</p><h2><a id="_exception_fields"></a>exception fields<a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2><p>Information about the originally thrown error.</p><h3><a id="_literal_error_exception_code_literal"></a><code class="literal">error.exception.code</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The error code set when the error happened, e.g. database error code.</p><h3><a id="_literal_error_exception_message_literal"></a><code class="literal">error.exception.message</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: text</p><p>The original error message.</p><h3><a id="_literal_error_exception_module_literal"></a><code class="literal">error.exception.module</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The module namespace of the original error.</p><h3><a id="_literal_error_exception_type_literal"></a><code class="literal">error.exception.type</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><h3><a id="_literal_error_exception_uncaught_literal"></a><code class="literal">error.exception.uncaught</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: boolean</p><p>Indicator whether the error was caught somewhere in the code or not.</p><h2><a id="_log_fields"></a>log fields<a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2><p>Additional information added by logging the error.</p><h3><a id="_literal_error_log_level_literal"></a><code class="literal">error.log.level</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The severity of the record.</p><h3><a id="_literal_error_log_logger_name_literal"></a><code class="literal">error.log.logger_name</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>The name of the logger instance used.</p><h3><a id="_literal_error_log_message_literal"></a><code class="literal">error.log.message</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: text</p><p>The additionally logged error message.</p><h3><a id="_literal_error_log_param_message_literal"></a><code class="literal">error.log.param_message</code><a href="https://github.com/elastic/apm-server/edit/master/docs/fields.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>type: keyword</p><p>A parametrized message. E.g. <span class="emphasis"><em>Could not connect to %s</em></span>. The property message is still required, and should be equal to the param_message, but with placeholders replaced. In some situations the param_message is used to group errors together.</p></div><div class="navfooter"><span class="prev"><a href="exported-fields-apm.html">
617617
« 
618618
General APM fields fields</a>
619619

0 commit comments

Comments
 (0)