kibana/packages/kbn-apm-config-loader
Pierre Gayvallet b75d89a2d8
Config loader: remove unecessary properties (#154902)
- Updates the logic of `ensureDeepObject` to remove unnecessary
properties when expanding the object
- We had three versions of this helper, centralized it within `@kbn/std`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-04-13 11:16:51 -05:00
..
src Config loader: remove unecessary properties (#154902) 2023-04-13 11:16:51 -05:00
index.ts Updating APM labels from kibana.yml (#144036) 2022-10-27 11:57:57 +03:00
jest.config.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md Add the @kbn/apm-config-loader package (#77855) 2020-09-28 15:30:59 +02:00
tsconfig.json Config loader: remove unecessary properties (#154902) 2023-04-13 11:16:51 -05: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.