Skip to content

Commit 04709a4

Browse files
Merge branch 'master' into np-migration/watcher
2 parents e0eefdc + 1bef133 commit 04709a4

File tree

1,934 files changed

+30459
-18430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,934 files changed

+30459
-18430
lines changed

.eslintrc.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ module.exports = {
6464
'jsx-a11y/no-onchange': 'off',
6565
},
6666
},
67-
{
68-
files: ['src/core/public/application/**/*.{js,ts,tsx}'],
69-
rules: {
70-
'react/no-danger': 'off',
71-
},
72-
},
7367
{
7468
files: ['src/legacy/core_plugins/console/**/*.{js,ts,tsx}'],
7569
rules: {

.i18nrc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"dashboardEmbeddableContainer": "src/plugins/dashboard_embeddable_container",
77
"data": ["src/legacy/core_plugins/data", "src/plugins/data"],
88
"embeddableApi": "src/plugins/embeddable",
9+
"share": "src/plugins/share",
910
"esUi": "src/plugins/es_ui_shared",
10-
"expressions_np": "src/plugins/expressions",
11-
"expressions": "src/legacy/core_plugins/expressions",
11+
"expressions": "src/plugins/expressions",
1212
"inputControl": "src/legacy/core_plugins/input_control_vis",
1313
"inspector": "src/plugins/inspector",
1414
"inspectorViews": "src/legacy/core_plugins/inspector_views",
@@ -34,7 +34,7 @@
3434
"visTypeTagCloud": "src/legacy/core_plugins/vis_type_tagcloud",
3535
"visTypeTimeseries": "src/legacy/core_plugins/vis_type_timeseries",
3636
"visTypeVega": "src/legacy/core_plugins/vis_type_vega",
37-
"visualizations": "src/plugins/visualizations"
37+
"visualizations": ["src/plugins/visualizations", "src/legacy/core_plugins/visualizations"]
3838
},
3939
"exclude": ["src/legacy/ui/ui_render/ui_render_mixin.js"],
4040
"translations": []

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Note that for VSCode, to enable "live" linting of TypeScript (and other) file ty
325325
"eslint.autoFixOnSave": true,
326326
```
327327

328-
It is **not** recommended to use `prettier` plugin on Kibana project. Because settings are in `eslintrc.js` file and it is applied to too many files that shouldn't be prettier-ized.
328+
:warning: It is **not** recommended to use the [`Prettier` extension/IDE plugin](https://prettier.io/) while maintaining the Kibana project. Formatting and styling roles are set in the multiple `.eslintrc.js` files across the project and some of them use the [NPM version of Prettier](https://www.npmjs.com/package/prettier). Using the IDE extension might cause conflicts, applying the formatting to too many files that shouldn't be prettier-ized and/or highlighting errors that are actually OK.
329329

330330
### Internationalization
331331

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ library 'kibana-pipeline-library'
44
kibanaLibrary.load()
55

66
stage("Kibana Pipeline") { // This stage is just here to help the BlueOcean UI a little bit
7-
timeout(time: 180, unit: 'MINUTES') {
7+
timeout(time: 120, unit: 'MINUTES') {
88
timestamps {
99
ansiColor('xterm') {
1010
catchError {

docs/apm/advanced-queries.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ so it's easy to share a specific query or view with others.
1010
In the screenshot below, you can begin to see some of the transaction fields available for filtering on:
1111

1212
[role="screenshot"]
13-
image::apm/images/apm-query-bar.png[Example of the Kibana Query bar in APM UI in Kibana]
13+
image::apm/images/apm-query-bar.png[Example of the Kibana Query bar in APM app in Kibana]
1414

1515
[float]
1616
==== Example queries

docs/apm/agent-configuration.asciidoc

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22
[[agent-configuration]]
33
=== APM Agent configuration
44

5-
beta[] APM Agent configuration allows you to fine-tune your agent configuration directly in Kibana.
5+
APM Agent configuration allows you to fine-tune your agent configuration directly in Kibana.
66
Best of all, changes are automatically propagated to your APM agents so there's no need to redeploy.
77

8-
To get started, simply choose the service and environment you wish to configure.
8+
To get started, simply choose the services and environments you wish to configure.
9+
The APM app will let you know when your configurations have been applied by your agents.
910

1011
[role="screenshot"]
1112
image::apm/images/apm-agent-configuration.png[APM Agent configuration in Kibana]
1213

13-
IMPORTANT: As this feature is in Beta, a limited number of configuration settings are supported.
14-
We recommend you watch your agent logs to confirm that configuration has been applied.
15-
If you have feedback, please reach out in our https://discuss.elastic.co/c/apm[Discuss forum].
16-
1714
[float]
1815
==== Precedence
1916

@@ -34,6 +31,26 @@ Kibana communicates any changed settings to APM Server so that your agents only
3431
[float]
3532
==== Supported configurations
3633

34+
[float]
35+
===== `CAPTURE_BODY`
36+
37+
added[7.5.0] Can be `"off"`, `"errors"`, `"transactions"`, or `"all"`. Defaults to `"off"`.
38+
39+
For transactions that are HTTP requests, the Agent can optionally capture the request body, e.g., POST variables.
40+
Remember, request bodies often contain sensitive values like passwords, credit card numbers, etc.
41+
If your service handles sensitive data, enable this feature with care.
42+
Turning on body capturing can also significantly increase the overhead the overhead of the Agent,
43+
and the Elasticsearch index size.
44+
45+
[float]
46+
===== `TRANSACTION_MAX_SPANS`
47+
48+
added[7.5.0] A number between `0` and `32000`. Defaults to `500`.
49+
50+
Limit the number of spans that are recorded per transaction.
51+
This is helpful in cases where a transaction creates a very high amount of spans, e.g., thousands of SQL queries.
52+
Setting an upper limit will help prevent the Agent and the APM Server from being overloaded.
53+
3754
[float]
3855
===== `TRANSACTION_SAMPLE_RATE`
3956

docs/apm/errors.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ This makes it very easy to quickly see which errors are affecting your services,
1010
and to take actions to rectify them.
1111

1212
[role="screenshot"]
13-
image::apm/images/apm-errors-overview.png[Example view of the errors overview in the APM UI in Kibana]
13+
image::apm/images/apm-errors-overview.png[Example view of the errors overview in the APM app in Kibana]
1414

1515
Selecting an error group ID or error message brings you to the *Error group*.
1616

1717
[role="screenshot"]
18-
image::apm/images/apm-error-group.png[Example view of the error group page in the APM UI in Kibana]
18+
image::apm/images/apm-error-group.png[Example view of the error group page in the APM app in Kibana]
1919

2020
Here, you'll see the error message, culprit, and the number of occurrences over time.
2121

@@ -43,4 +43,4 @@ With Watcher, your team can set up reports within minutes.
4343
Watches are managed separately in the dedicated Watcher UI available in Advanced Settings.
4444

4545
[role="screenshot"]
46-
image::apm/images/apm-errors-watcher-assistant.png[Example view of the Watcher assistant for errors in APM UI in Kibana]
46+
image::apm/images/apm-errors-watcher-assistant.png[Example view of the Watcher assistant for errors in APM app in Kibana]

docs/apm/getting-started.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ image::apm/images/apm-setup.png[Installation instructions on the APM page in Kib
1010

1111

1212
Index patterns tell Kibana which Elasticsearch indices you want to explore.
13-
An APM index pattern is necessary for certain features in the APM UI, like the query bar.
13+
An APM index pattern is necessary for certain features in the APM app, like the query bar.
1414
To set up the correct index pattern,
1515
simply click *Load Kibana objects* at the bottom of the Setup Instructions.
1616

docs/apm/images/apm-metrics.png

-338 KB
Loading

docs/apm/images/jvm-metrics.png

413 KB
Loading

0 commit comments

Comments
 (0)