Overview
Adding a new hub region to telemetry means registering the hub code across the distribution configuration and the build menu, then confirming the region’s timezone is available in the telemetry UI (also known as the web-app). Pushing to PROD deploys the changes.Prerequisites
- Access to the telemetry repository.
- The new hub code (region code, uppercase, for example
DE). See the naming convention. - The timezone(s) for the new region (for example
Europe/Berlinfor Germany).
Adding the Region
Add the new hub code in each of the following files.Add to the DEV distribution env
In
distribution/.env.dev, append the new hub code to HUBREGIONS in the same way.Add to the build menu
In
distribution/build_application.bat, add a menu option for the new region, extend the prompt range, and add the matching branch that sets HUBREGION:Checking the Timezone
Confirm the new region’s timezone is available in the telemetry UI (web-app).Open the timezone list
Open
telemetry/telemetry-web-app/src/app/services/date-time.service.ts and check the commonTimeZones array.