Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client connection time metrics #1103

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add client connection time metrics #1103

wants to merge 2 commits into from

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Apr 9, 2024

starting with a minimal set of timings and errors.
This is not considered completed, would value some feedback WRT what else we'll want to send.

@lukasIO lukasIO requested a review from davidzhao April 9, 2024 11:00
Copy link

changeset-bot bot commented Apr 9, 2024

⚠️ No Changeset found

Latest commit: a43a19f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@toger5
Copy link
Contributor

toger5 commented Apr 16, 2024

To understand this right, the connection times/durations will be sent through the websocket connection to the SFU. The SFU probably uses it to build the dashboard?
Is there a way to locally emit this data with js events from the livekit client?
So that one could use different ways to analyze/visualize this data? (for example posthog)

publisher?: number;, subscriber?: number; refers to the sending and receiving peer connection durations right?

@lebaudantoine
Copy link

lebaudantoine commented Dec 7, 2024

This work seems super interesting to me, is it stale @lukasIO ?
(I am also using Posthog in my product)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants