# Backport
This will backport the following commits from `main` to `8.6`:
- [Fix autocommiting from CI
(#148066)](https://github.com/elastic/kibana/pull/148066)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT
[{"author":{"name":"Spencer","email":"spencer@elastic.co"},"sourceCommit":{"committedDate":"2022-12-23T16:31:54Z","message":"Fix
autocommiting from CI (#148066)\n\nThe new images have an updated gh
binary which now requires setting the\r\n`GITHUB_REPO` env var, or
calling `gh repo set-default`. I opted for the\r\nenv var so that we
didn't need to find a good time to execute the CLI\r\n(after the keys
are in the env, but before all other user code) or worry\r\nabout the
logging. This also allows other users of our scripts to\r\ncustomize as
makes sense without having to dive into a bunch of\r\nimperative shell
code.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1b8ddc626765af542d4270bdb372a6e8bec14419","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.7.0"],"number":148066,"url":"https://github.com/elastic/kibana/pull/148066","mergeCommit":{"message":"Fix
autocommiting from CI (#148066)\n\nThe new images have an updated gh
binary which now requires setting the\r\n`GITHUB_REPO` env var, or
calling `gh repo set-default`. I opted for the\r\nenv var so that we
didn't need to find a good time to execute the CLI\r\n(after the keys
are in the env, but before all other user code) or worry\r\nabout the
logging. This also allows other users of our scripts to\r\ncustomize as
makes sense without having to dive into a bunch of\r\nimperative shell
code.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1b8ddc626765af542d4270bdb372a6e8bec14419"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148066","number":148066,"mergeCommit":{"message":"Fix
autocommiting from CI (#148066)\n\nThe new images have an updated gh
binary which now requires setting the\r\n`GITHUB_REPO` env var, or
calling `gh repo set-default`. I opted for the\r\nenv var so that we
didn't need to find a good time to execute the CLI\r\n(after the keys
are in the env, but before all other user code) or worry\r\nabout the
logging. This also allows other users of our scripts to\r\ncustomize as
makes sense without having to dive into a bunch of\r\nimperative shell
code.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1b8ddc626765af542d4270bdb372a6e8bec14419"}}]}]
BACKPORT-->
Co-authored-by: Spencer <spencer@elastic.co>
* Adding event log check to CI check.
* Adding event log check to CI check.
* Can I check out ECS
* Checking out specific ECS branch
* Checking out specific ECS branch
* Custom error message
* Reverting event log mapping test changes
* Pinning to 1.8
* Update .buildkite/scripts/steps/checks/event_log.sh
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
* chore(NA): use new and more performant BuildBuddy servers
* chore(NA): simple upgrade mechanism for new remote address servers
* docs(NA): missing note for future removal
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* change APM nodejs agent default
By default APM agent instruments the code to be a base for log correlation. But it doesn't send transactions to the APM server.
* emit trace IDs into the logs
* use ELASTIC_APM_DISABLE_SEND to keep APM agent active but disable send when necessary
* send data whenver active is set to "true"
* update tests
* keep APM agent active. control disableSend instead
* update snapshot tests
* add debug logging
* REMOVE me. log path to the agent
* init APM agent explicitly in test plugin. it uses another package instance
* REMOVE me. create transaction explicitly
* increase timeout setting for the test
* refactor tests
* remove debug logs
* remove explicit transaction creation
* Revert "remove explicit transaction creation"
This reverts commit cdf2d308e0.
* point to apm nodejs agent commit temporary until a new version is released
* migrate from disableSend to contextPropagationOnly
* TO DISCUSS. what if we enforce contextPropagationOnly to be configured when active is defined
* Revert "TO DISCUSS. what if we enforce contextPropagationOnly to be configured when active is defined"
This reverts commit 62dda4fb27.
* bump to version with fix
* commit using @elastic.co
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This is a short-term solution to reduce our hit count in Buildkite due to the increase in bootstraps so we can move forward with enabling Buildkite across all PRs.