Skip to content

Commit

Permalink
fix: add faro instrumentaton (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
derschnee68 committed Jan 30, 2024
1 parent 67534ab commit 25701c6
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { AppConfigService } from '@dasch-swiss/vre/shared/app-config';
import { Faro, initializeFaro } from '@grafana/faro-web-sdk';
import { Faro, getWebInstrumentations, initializeFaro } from '@grafana/faro-web-sdk';

@Injectable({ providedIn: 'root' })
export class GrafanaFaroService {
Expand All @@ -16,6 +16,7 @@ export class GrafanaFaroService {
version: this._appConfig.dspConfig.release,
environment: this._appConfig.dspInstrumentationConfig.environment,
},
instrumentations: [...getWebInstrumentations()],
});
}
}

0 comments on commit 25701c6

Please sign in to comment.