-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add the ability to set the views via the SDK constructor (#3124)
* feat: add the ability to set the views via the SDK constructor * docs: update CHANGELOG.md * test: added test for checking if views configured when passed to the SDK * test: update test to check view got applied by renaming an counter metric's name * style: run `lint:fix` command on package * style: remove unused imports * style: fix identation linting issue in `sdk.test.ts` * docs: add reference to views-parameter of the NodeSDK * fix: throw an error when NodeSDK is used incorrectly * fix: improve the way handling views without metric reader * chore: update code * test: update the test cases * fix: update reader, if needed Co-authored-by: Weyert de Boer <[email protected]>
- Loading branch information
1 parent
6807def
commit 43f4e5a
Showing
5 changed files
with
199 additions
and
16 deletions.
There are no files selected for viewing
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
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
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