mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* 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 |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel | ||
jest.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/apm-config-loader
Configuration loader for the APM instrumentation script.
This module is only meant to be used by the APM instrumentation script (src/apm.js
)
to load the required configuration options from the kibana.yaml
configuration file with
default values.
Why not just use @kbn-config?
@kbn/config
is the recommended way to load and read the kibana configuration file,
however in the specific case of APM, we want to only need the minimal dependencies
before loading elastic-apm-node
to avoid losing instrumentation on the already loaded modules.