Skip to content

Commit

Permalink
[#IOPSC-81] trace apikey existence on Service creation
Browse files Browse the repository at this point in the history
  • Loading branch information
balanza committed Sep 22, 2022
1 parent a073536 commit ed4617d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CreateService/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ export function CreateServiceHandler(
telemetryClient.trackEvent({
name: "api.services.create",
properties: {
has_primary_key: Boolean(subscription.primary_key),
has_secondary_key: Boolean(subscription.secondary_key),
isVisible: String(service.is_visible),
requesterUserEmail: userAttributes.email,
subscriptionId
Expand Down

0 comments on commit ed4617d

Please sign in to comment.