Skip to content

Commit

Permalink
added helicone back link to posthog (#1950)
Browse files Browse the repository at this point in the history
  • Loading branch information
maamalama authored May 16, 2024
1 parent 5f37475 commit c13789d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions valhalla/jawn/src/lib/clients/postHogClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ export type HeliconeRequestResponseToPosthog = {
requestBodySize: number;
responseBodySize: number;
delayMs: number;
heliconeBackLink: string;
};
1 change: 1 addition & 0 deletions valhalla/jawn/src/lib/handlers/PostHogHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class PostHogHandler extends AbstractLogHandler {
requestBodySize: request.bodySize ?? 0,
responseBodySize: response.bodySize ?? 0,
delayMs: response.delayMs ?? 0,
heliconeBackLink: `https://www.helicone.ai/requests?requestId=${request.id}`,
};

return posthogLog;
Expand Down

0 comments on commit c13789d

Please sign in to comment.