Skip to content

Commit b72e6d8

Browse files
chore(web): Add hostname to service ping
1 parent 1a482e8 commit b72e6d8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/web/src/ee/features/lighthouse/servicePing.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const syncWithLighthouse = async (orgId: number) => {
6868
const payload: ServicePingRequest = {
6969
installId: env.SOURCEBOT_INSTALL_ID,
7070
version: SOURCEBOT_VERSION,
71+
hostname: env.AUTH_URL,
7172
userCount,
7273
repoCount,
7374
dauCount,

packages/web/src/ee/features/lighthouse/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { z } from "zod";
33
export const servicePingRequestSchema = z.object({
44
installId: z.string(),
55
version: z.string(),
6+
hostname: z.string(),
67
userCount: z.number().int().nonnegative(),
78
repoCount: z.number().int().nonnegative(),
89
dauCount: z.number().int().nonnegative(),

0 commit comments

Comments
 (0)