kibana/packages/kbn-apm-config-loader
Kibana Machine ca86b98b5a
Don't enable RUM agent if APM is run with contextPropagationOnly (#118685) (#118995)
* do not enable RUM agent when nodejs is run in contextPropagationOnly mode

* move shouldInstrumentClient to apm-config package

Co-authored-by: Mikhail Shustov <mikhail.shustov@elastic.co>
2021-11-18 08:19:15 -07:00
..
src Don't enable RUM agent if APM is run with contextPropagationOnly (#118685) (#118995) 2021-11-18 08:19:15 -07:00
BUILD.bazel Update APM nodejs agent to v3.21.1 (#112504) 2021-09-20 13:40:33 +02:00
jest.config.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
package.json chore(NA): moving @kbn/apm-config-loader to babel transpiler (#107146) 2021-07-29 14:24:12 -04:00
README.md Add the @kbn/apm-config-loader package (#77855) 2020-09-28 15:30:59 +02:00
tsconfig.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00

@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.