Skip to content

Commit

Permalink
fix(browser): remove fetchIDB from remote config
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Wallach committed Aug 23, 2024
1 parent 9481c2e commit 91c89d1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/analytics-browser/src/config/joined-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ export class BrowserJoinedConfigGenerator {

this.config.loggerProvider.debug('Joined configuration: ', JSON.stringify(this.config, null, 2));
this.config.requestMetadata ??= new RequestMetadata();
if (this.remoteConfigFetch?.metrics.fetchTimeIDB) {
this.config.requestMetadata.recordHistogram(
'remote_config_fetch_time_IDB',
this.remoteConfigFetch.metrics.fetchTimeIDB,
);
}
if (this.remoteConfigFetch?.metrics.fetchTimeAPISuccess) {
this.config.requestMetadata.recordHistogram(
'remote_config_fetch_time_API_success',
Expand Down

0 comments on commit 91c89d1

Please sign in to comment.