Skip to content

Commit c5e165f

Browse files
committed
Merge remote-tracking branch 'upstream/master' into 50397-refactor-log-filters
# Conflicts: # x-pack/test/functional/apps/infra/link_to.ts
2 parents 47ffa99 + 5342dd1 commit c5e165f

File tree

1,168 files changed

+26631
-13643
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,168 files changed

+26631
-13643
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
/x-pack/legacy/plugins/alerting @elastic/kibana-alerting-services
110110
/x-pack/legacy/plugins/actions @elastic/kibana-alerting-services
111111
/x-pack/legacy/plugins/task_manager @elastic/kibana-alerting-services
112+
/x-pack/test/alerting_api_integration @elastic/kibana-alerting-services
113+
/x-pack/test/plugin_api_integration/plugins/task_manager @elastic/kibana-alerting-services
114+
/x-pack/test/plugin_api_integration/test_suites/task_manager @elastic/kibana-alerting-services
112115

113116
# Design
114117
**/*.scss @elastic/kibana-design

.github/workflows/pr-project-assigner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
uses: elastic/github-actions/project-assigner@v1.0.0
1212
id: project_assigner
1313
with:
14-
issue-mappings: '[{"label": "Team:AppAch", "projectName": "kibana-app-arch", "columnId": 6173897}]'
15-
ghToken: ${{ secrets.GITHUB_TOKEN }}
14+
issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173897}, {"label": "Feature:Lens", "projectName": "Lens", "columnId": 6219362}]'
15+
ghToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/project-assigner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: elastic/github-actions/project-assigner@v1.0.0
1212
id: project_assigner
1313
with:
14-
issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173895}]'
14+
issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173895}, {"label": "Feature:Lens", "projectName": "Lens", "columnId": 6219363}]'
1515
ghToken: ${{ secrets.GITHUB_TOKEN }}
1616

1717

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ disabledPlugins
2929
webpackstats.json
3030
/config/*
3131
!/config/kibana.yml
32-
!/config/apm.js
3332
coverage
3433
selenium
3534
.babel_register_cache.json

.i18nrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"kbn": "src/legacy/core_plugins/kibana",
2222
"kbnDocViews": "src/legacy/core_plugins/kbn_doc_views",
2323
"kbnVislibVisTypes": "src/legacy/core_plugins/kbn_vislib_vis_types",
24-
"management": "src/legacy/core_plugins/management",
24+
"management": ["src/legacy/core_plugins/management", "src/plugins/management"],
2525
"kibana_react": "src/legacy/core_plugins/kibana_react",
2626
"kibana-react": "src/plugins/kibana_react",
2727
"kibana_utils": "src/plugins/kibana_utils",

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.15.2
1+
10.18.0

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.15.2
1+
10.18.0

config/apm.js

Lines changed: 0 additions & 87 deletions
This file was deleted.

docs/apm/advanced-queries.asciidoc

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
[[advanced-queries]]
22
=== Advanced queries
33

4-
When querying, you're simply searching and selecting data from fields in Elasticsearch documents.
5-
It may be helpful to view some of your documents in {kibana-ref}/discover.html[Discover] to better understand how APM data is stored in Elasticsearch.
6-
4+
When querying in the APM app, you're simply searching and selecting data from fields in Elasticsearch documents.
75
Queries entered into the query bar are also added as parameters to the URL,
86
so it's easy to share a specific query or view with others.
97

@@ -13,11 +11,48 @@ In the screenshot below, you can begin to see some of the transaction fields ava
1311
image::apm/images/apm-query-bar.png[Example of the Kibana Query bar in APM app in Kibana]
1412

1513
[float]
16-
==== Example queries
14+
==== Example APM app queries
1715

1816
* Exclude response times slower than 2000 ms: `transaction.duration.us > 2000000`
1917
* Filter by response status code: `context.response.status_code >= 400`
2018
* Filter by single user ID: `context.user.id : 12`
21-
* View _all_ transactions for an endpoint, instead of just a sample - `processor.event: "transaction" AND transaction.name: "<TRANSACTION_NAME_HERE>"`
2219

2320
TIP: Read the {kibana-ref}/kuery-query.html[Kibana Query Language Enhancements] documentation to learn more about the capabilities of the {kib} query language.
21+
22+
[float]
23+
[[discover-advanced-queries]]
24+
=== Querying in the Discover app
25+
26+
It may also be helpful to view your APM data in the {kibana-ref}/discover.html[Discover app].
27+
Querying documents in Discover works the same way as querying in the APM app,
28+
and all of the example queries listed above can also be used in the Discover app.
29+
30+
[float]
31+
==== Example Discover app query
32+
33+
One example where you may want to make use of the Discover app,
34+
is for viewing _all_ transactions for an endpoint, instead of just a sample.
35+
36+
TIP: Starting in v7.6, you can view 10 samples per bucket in the APM app, instead of just one.
37+
38+
Use the APM app to find a transaction name and time bucket that you're interested in learning more about.
39+
Then, switch to the Discover app and make a search:
40+
41+
["source","sh"]
42+
-----
43+
processor.event: "transaction" AND transaction.name: "<TRANSACTION_NAME_HERE>" and transaction.duration.us > 13000 and transaction.duration.us < 14000`
44+
-----
45+
46+
In this example, we're interested in viewing all of the `APIRestController#customers` transactions
47+
that took between 13 and 14 milliseconds. Here's what Discover returns:
48+
49+
[role="screenshot"]
50+
image::apm/images/advanced-discover.png[View all transactions in bucket]
51+
52+
You can now explore the data until you find a specific transaction that you're interested in.
53+
Copy that transaction's `transaction.id`, and paste it into the APM app to view the data in the context of the APM app:
54+
55+
[role="screenshot"]
56+
image::apm/images/specific-transaction-search.png[View specific transaction in apm app]
57+
[role="screenshot"]
58+
image::apm/images/specific-transaction.png[View specific transaction in apm app]
719 KB
Loading

0 commit comments

Comments
 (0)