Refactor Baselime monitoring provider for optional API key

The code was adjusted to not require an API key for the Baselime monitoring provider. Now, a warning will be logged if no key is provided. Dependencies in pnpm-lock.yaml and error message in baselime-server-monitoring.service.ts were also updated accordingly to reflect this change, primarily to utilize the variable 'NEXT_PUBLIC_BASELIME_KEY' instead of 'BASELIME_API_KEY'.
This commit is contained in:
giancarlo
2024-04-25 13:32:22 +07:00
parent 03d06b64ba
commit 3b3f50a714
3 changed files with 18 additions and 8 deletions

7
pnpm-lock.yaml generated
View File

@@ -1029,10 +1029,6 @@ importers:
version: 18.2.0
packages/next:
dependencies:
'@kit/monitoring':
specifier: workspace:*
version: link:../monitoring/api
devDependencies:
'@kit/auth':
specifier: workspace:^
@@ -1040,6 +1036,9 @@ importers:
'@kit/eslint-config':
specifier: workspace:*
version: link:../../tooling/eslint
'@kit/monitoring':
specifier: workspace:*
version: link:../monitoring/api
'@kit/prettier-config':
specifier: workspace:*
version: link:../../tooling/prettier