-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rename] kbn-apm-config-loader to osd-apm-config-loader (#78)
* [Rename] kbn-apm-config-loader to osd-apm-onfig-loader Signed-off-by: Kawika Avilla <kavilla414@gmail.com> * Handle PR comments Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
- Loading branch information
Showing
31 changed files
with
56 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
packages/kbn-apm-config-loader/__fixtures__/en_var_ref_config.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# @osd/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 `opensearch_dashboards.yaml` configuration file with | ||
default values. | ||
|
||
### Why not just use @osd-config? | ||
|
||
`@osd/config` is the recommended way to load and read the opensearchDashboards configuration file, | ||
however in the specific case of APM, we want to only need the minimal dependencies | ||
before loading `opensearch-apm-node` to avoid losing instrumentation on the already loaded modules. |
2 changes: 1 addition & 1 deletion
2
...apm-config-loader/__fixtures__/config.yml → ...apm-config-loader/__fixtures__/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...onfig-loader/__fixtures__/config_flat.yml → ...onfig-loader/__fixtures__/config_flat.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/osd-apm-config-loader/__fixtures__/en_var_ref_config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
foo: 1 | ||
bar: "pre-${OSD_ENV_VAR1}-mid-${OSD_ENV_VAR2}-post" | ||
|
||
opensearch: | ||
requestHeadersWhitelist: ["${OSD_ENV_VAR1}", "${OSD_ENV_VAR2}"] |
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
packages/kbn-apm-config-loader/package.json → packages/osd-apm-config-loader/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.