kibana/packages/kbn-apm-config-loader
Liza Katz c97bfc8e3a
Debugging with apm - fixes and tutorial (#127892)
* fixes + tutorial

* cors config

* omit secretToken so its not sent to FE
Add config tests

* lint

* empty

* swallow errors when parsing configs

* read config test adjustment

* apm docs review

* new line

* doc review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-22 14:56:37 +02:00
..
src Debugging with apm - fixes and tutorial (#127892) 2022-03-22 14:56:37 +02: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.