Skip to content

Commit

Permalink
✨ [RUMF-1191] enable telemetry on us1 site
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan committed May 20, 2022
1 parent 38cae48 commit 2deffa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ describe('internal monitoring', () => {
{ site: INTAKE_SITE_US5, enabled: true },
{ site: INTAKE_SITE_US3, enabled: true },
{ site: INTAKE_SITE_EU, enabled: true },
{ site: INTAKE_SITE_US, enabled: false },
{ site: INTAKE_SITE_US, enabled: true },
].forEach(({ site, enabled }) => {
it(`should be ${enabled ? 'enabled' : 'disabled'} on ${site}`, () => {
internalMonitoring = startInternalMonitoring({ ...configuration, site } as Configuration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
INTAKE_SITE_US3,
INTAKE_SITE_STAGING,
INTAKE_SITE_EU,
INTAKE_SITE_US,
} from '../configuration'
import type { TelemetryEvent } from './telemetryEvent.types'

Expand Down Expand Up @@ -48,12 +49,7 @@ export interface MonitoringMessage extends Context {
}
}

const TELEMETRY_ALLOWED_SITES: string[] = [
INTAKE_SITE_US5,
INTAKE_SITE_US3,
INTAKE_SITE_EU,
// INTAKE_SITE_US,
]
const TELEMETRY_ALLOWED_SITES: string[] = [INTAKE_SITE_US5, INTAKE_SITE_US3, INTAKE_SITE_EU, INTAKE_SITE_US]

const monitoringConfiguration: {
debugMode?: boolean
Expand Down

0 comments on commit 2deffa5

Please sign in to comment.