Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: datadog RUM implementation * test(login-form): fixes tests * refactor(login-form): adds and uses config token properties for datadog init
- Loading branch information
Showing
11 changed files
with
210 additions
and
43 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import { InjectionToken } from '@angular/core'; | ||
import { KnoraApiConfig, KnoraApiConnection } from '@dasch-swiss/dsp-js'; | ||
import { DspDataDogConfig } from './dsp-dataDog-config'; | ||
|
||
// config for dsp-js-lib (@dasch-swiss/dsp-js) config object | ||
export const DspApiConfigToken = new InjectionToken<KnoraApiConfig>('DSP api configuration'); | ||
|
||
// connection config for dsp-js-lib (@dasch-swiss/dsp-js) connection | ||
export const DspApiConnectionToken = new InjectionToken<KnoraApiConnection>('DSP api connection instance'); | ||
|
||
// config for datadog | ||
export const DspDataDogConfigToken = new InjectionToken<DspDataDogConfig>('DSP DataDog configuration'); |
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,7 @@ | ||
export class DspDataDogConfig { | ||
constructor(public dataDogLogging: boolean, | ||
public dataDogApplicationId: string, | ||
public dataDogClientToken: string, | ||
public dataDogSite: string, | ||
public dataDogService: string) { } | ||
} |
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 |
---|---|---|
@@ -1,13 +1,18 @@ | ||
{ | ||
"apiProtocol": "http", | ||
"apiHost": "0.0.0.0", | ||
"apiPort": 3333, | ||
"apiPath": "", | ||
"iiifProtocol": "http", | ||
"iiifHost": "0.0.0.0", | ||
"iiifPort": 1024, | ||
"iiifPath": "", | ||
"geonameToken": "knora", | ||
"jsonWebToken": "", | ||
"logErrors": true | ||
"apiProtocol": "http", | ||
"apiHost": "0.0.0.0", | ||
"apiPort": 3333, | ||
"apiPath": "", | ||
"iiifProtocol": "http", | ||
"iiifHost": "0.0.0.0", | ||
"iiifPort": 1024, | ||
"iiifPath": "", | ||
"geonameToken": "knora", | ||
"jsonWebToken": "", | ||
"logErrors": true, | ||
"dataDogLogging": false, | ||
"dataDogApplicationId": "", | ||
"dataDogClientToken": "", | ||
"dataDogSite": "", | ||
"dataDogService": "" | ||
} |
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
Oops, something went wrong.