kibana/packages/kbn-apm-config-loader
Spencer 614139b8e5
[bazel] avoid a little boilerplate in packages (#126309)
* [bazel] avoid a little boilerplate for @types packages

* [bazel/ts] stop building sourcemaps since they're ignored
2022-02-24 12:43:12 -06:00
..
src mock elastic-apm-node in @kbn/test jest preset (#120324) 2021-12-07 08:20:48 +01:00
BUILD.bazel [bazel] avoid a little boilerplate in packages (#126309) 2022-02-24 12:43:12 -06:00
jest.config.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
package.json chore(NA): splits types from code on @kbn/apm-config-loader (#120001) 2021-12-01 14:01:36 +00:00
README.md Add the @kbn/apm-config-loader package (#77855) 2020-09-28 15:30:59 +02:00
tsconfig.json [bazel] avoid a little boilerplate in packages (#126309) 2022-02-24 12:43:12 -06: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.