Skip to content

Commit

Permalink
✨ [RUMF-1191] enable telemetry on eu site (#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan authored May 18, 2022
1 parent bcc5684 commit 27870a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ describe('internal monitoring', () => {
;[
{ site: INTAKE_SITE_US5, enabled: true },
{ site: INTAKE_SITE_US3, enabled: true },
{ site: INTAKE_SITE_EU, enabled: false },
{ site: INTAKE_SITE_EU, enabled: true },
{ site: INTAKE_SITE_US, enabled: false },
].forEach(({ site, enabled }) => {
it(`should be ${enabled ? 'enabled' : 'disabled'} on ${site}`, () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ import type { StackTrace } from '../tracekit'
import { computeStackTrace } from '../tracekit'
import { Observable } from '../../tools/observable'
import { timeStampNow } from '../../tools/timeUtils'
import { isExperimentalFeatureEnabled, INTAKE_SITE_US5, INTAKE_SITE_US3, INTAKE_SITE_STAGING } from '../configuration'
import {
isExperimentalFeatureEnabled,
INTAKE_SITE_US5,
INTAKE_SITE_US3,
INTAKE_SITE_STAGING,
INTAKE_SITE_EU,
} from '../configuration'
import type { TelemetryEvent } from './telemetryEvent.types'

// replaced at build time
Expand Down Expand Up @@ -45,7 +51,7 @@ export interface MonitoringMessage extends Context {
const TELEMETRY_ALLOWED_SITES: string[] = [
INTAKE_SITE_US5,
INTAKE_SITE_US3,
// INTAKE_SITE_EU,
INTAKE_SITE_EU,
// INTAKE_SITE_US,
]

Expand Down

0 comments on commit 27870a4

Please sign in to comment.