Skip to content

Commit ef42610

Browse files
Merge branch 'master' into feat/olm-host_isolation_api_changes-1704
2 parents 1bdbe33 + e7ce061 commit ef42610

File tree

218 files changed

+4637
-4282
lines changed

Some content is hidden

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

218 files changed

+4637
-4282
lines changed

.buildkite/scripts/common/env.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ export ELASTIC_APM_ENVIRONMENT=ci
3636
export ELASTIC_APM_TRANSACTION_SAMPLE_RATE=0.1
3737

3838
if is_pr; then
39-
export ELASTIC_APM_ACTIVE=false
39+
if [[ "${GITHUB_PR_LABELS:-}" == *"ci:collect-apm"* ]]; then
40+
export ELASTIC_APM_ACTIVE=true
41+
else
42+
export ELASTIC_APM_ACTIVE=false
43+
fi
44+
4045
export CHECKS_REPORTER_ACTIVE=true
4146

4247
# These can be removed once we're not supporting Jenkins and Buildkite at the same time

docs/developer/plugin-list.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ The plugin exposes the static DefaultEditorController class to consume.
350350
351351
352352
|{kib-repo}blob/{branch}/x-pack/plugins/apm/readme.md[apm]
353-
|Local setup documentation
353+
|undefined
354354
355355
356356
|{kib-repo}blob/{branch}/x-pack/plugins/banners/README.md[banners]

docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ readonly links: {
145145
readonly networkMap: string;
146146
readonly troubleshootGaps: string;
147147
};
148+
readonly securitySolution: {
149+
readonly trustedApps: string;
150+
};
148151
readonly query: {
149152
readonly eql: string;
150153
readonly kueryQuerySyntax: string;

docs/development/core/public/kibana-plugin-core-public.doclinksstart.md

Lines changed: 1 addition & 2 deletions
Large diffs are not rendered by default.

docs/management/advanced-options.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ because requests can be spread across all shard copies. However, results might
426426
be inconsistent because different shards might be in different refresh states.
427427

428428
[[search-includefrozen]]`search:includeFrozen`::
429+
**This setting is deprecated and will not be supported as of 9.0.**
429430
Includes {ref}/frozen-indices.html[frozen indices] in results. Searching through
430431
frozen indices might increase the search time. This setting is off by default.
431432
Users must opt-in to include frozen indices.

docs/settings/reporting-settings.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ The protocol for accessing {kib}, typically `http` or `https`.
7979
[[xpack-kibanaServer-hostname]] `xpack.reporting.kibanaServer.hostname`::
8080
The hostname for accessing {kib}, if different from the <<server-host, `server.host`>> value.
8181

82-
NOTE: Reporting authenticates requests on the {kib} page only when the hostname matches the
83-
<<xpack-kibanaServer-hostname, `xpack.reporting.kibanaServer.hostname`>> setting. Therefore Reporting fails if the
84-
set value redirects to another server. For that reason, `"0"` is an invalid setting
85-
because, in the Reporting browser, it becomes an automatic redirect to `"0.0.0.0"`.
86-
8782
[float]
8883
[[reporting-job-queue-settings]]
8984
==== Background job settings

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"**/pdfkit/crypto-js": "4.0.0",
8383
"**/react-syntax-highlighter": "^15.3.1",
8484
"**/react-syntax-highlighter/**/highlight.js": "^10.4.1",
85-
"**/refractor/prismjs": "~1.25.0",
8685
"**/trim": "1.0.1",
8786
"**/typescript": "4.1.3",
8887
"**/underscore": "^1.13.1"
@@ -103,7 +102,7 @@
103102
"@elastic/datemath": "link:bazel-bin/packages/elastic-datemath",
104103
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^8.0.0-canary.21",
105104
"@elastic/ems-client": "7.15.0",
106-
"@elastic/eui": "38.0.1",
105+
"@elastic/eui": "39.0.0",
107106
"@elastic/filesaver": "1.1.2",
108107
"@elastic/maki": "6.3.0",
109108
"@elastic/node-crypto": "1.2.1",
@@ -184,7 +183,7 @@
184183
"@types/redux-logger": "^3.0.8",
185184
"JSONStream": "1.3.5",
186185
"abort-controller": "^3.0.0",
187-
"abortcontroller-polyfill": "^1.4.0",
186+
"abortcontroller-polyfill": "^1.7.3",
188187
"angular": "^1.8.0",
189188
"angular-aria": "^1.8.0",
190189
"angular-recursion": "^1.0.5",
@@ -209,7 +208,7 @@
209208
"constate": "^1.3.2",
210209
"content-disposition": "0.5.3",
211210
"copy-to-clipboard": "^3.0.8",
212-
"core-js": "^3.6.5",
211+
"core-js": "^3.18.3",
213212
"cronstrue": "^1.51.0",
214213
"cytoscape": "^3.10.0",
215214
"cytoscape-dagre": "^2.2.2",
@@ -369,7 +368,7 @@
369368
"remark-stringify": "^9.0.0",
370369
"require-in-the-middle": "^5.1.0",
371370
"reselect": "^4.0.0",
372-
"resize-observer-polyfill": "^1.5.0",
371+
"resize-observer-polyfill": "^1.5.1",
373372
"rison-node": "1.0.2",
374373
"rxjs": "^6.5.5",
375374
"safe-squel": "^5.12.5",

packages/kbn-apm-config-loader/src/config.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ describe('ApmConfiguration', () => {
9494
"globalLabels": Object {},
9595
"logUncaughtExceptions": true,
9696
"metricsInterval": "30s",
97-
"secretToken": "ZQHYvrmXEx04ozge8F",
98-
"serverUrl": "https://38b80fbd79fb4c91bae06b4642d4d093.apm.us-east-1.aws.cloud.es.io",
97+
"secretToken": "7YKhoXsO4MzjhXjx2c",
98+
"serverUrl": "https://kibana-ci-apm.apm.us-central1.gcp.cloud.es.io",
9999
"serviceName": "serviceName",
100100
"serviceVersion": "8.0.0",
101101
"transactionSampleRate": 1,
@@ -117,8 +117,8 @@ describe('ApmConfiguration', () => {
117117
},
118118
"logUncaughtExceptions": true,
119119
"metricsInterval": "120s",
120-
"secretToken": "ZQHYvrmXEx04ozge8F",
121-
"serverUrl": "https://38b80fbd79fb4c91bae06b4642d4d093.apm.us-east-1.aws.cloud.es.io",
120+
"secretToken": "7YKhoXsO4MzjhXjx2c",
121+
"serverUrl": "https://kibana-ci-apm.apm.us-central1.gcp.cloud.es.io",
122122
"serviceName": "serviceName",
123123
"serviceVersion": "8.0.0",
124124
"transactionSampleRate": 1,

packages/kbn-apm-config-loader/src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ const DEFAULT_CONFIG: AgentConfigOptions = {
2323
};
2424

2525
const CENTRALIZED_SERVICE_BASE_CONFIG: AgentConfigOptions = {
26-
serverUrl: 'https://38b80fbd79fb4c91bae06b4642d4d093.apm.us-east-1.aws.cloud.es.io',
26+
serverUrl: 'https://kibana-ci-apm.apm.us-central1.gcp.cloud.es.io',
2727

2828
// The secretToken below is intended to be hardcoded in this file even though
2929
// it makes it public. This is not a security/privacy issue. Normally we'd
3030
// instead disable the need for a secretToken in the APM Server config where
3131
// the data is transmitted to, but due to how it's being hosted, it's easier,
3232
// for now, to simply leave it in.
33-
secretToken: 'ZQHYvrmXEx04ozge8F',
33+
secretToken: '7YKhoXsO4MzjhXjx2c',
3434

3535
centralConfig: false,
3636
metricsInterval: '30s',

packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class CiStatsReporter {
130130
}
131131

132132
try {
133-
const { stdout } = await execa('git', ['branch', '--show-current']);
133+
const { stdout } = await execa('git', ['rev-parse', '--abbrev-ref', 'HEAD']);
134134
branch = stdout;
135135
} catch (e) {
136136
this.log.debug(e.message);

0 commit comments

Comments
 (0)