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

Some metrics protocol changes #806

Merged
merged 20 commits into from
Sep 13, 2024
Merged

Some metrics protocol changes #806

merged 20 commits into from
Sep 13, 2024

Conversation

boks1971
Copy link
Contributor

  • Add an envelope time stamp. That should be timestamp when the packet is actually sent.
  • Remove start_timestamp/end_timestamp from TimeseriesMetric as it is not clear how it will be used. Can add later if needed.

- Add an envelope time stamp. That should be timestamp when the packet
  is actually sent.
- Remove `start_timestamp`/`end_timestamp` from `TimeseriesMetric` as it
  is not clear how it will be used. Can add later if needed.
Copy link

changeset-bot bot commented Sep 10, 2024

🦋 Changeset detected

Latest commit: dc586e3

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "github.com/livekit/protocol" specified in the `fixed` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@@ -42,22 +43,20 @@ message TimeSeriesMetric {
uint32 label = 1;
uint32 participant_identity = 2;
uint32 track_sid = 3;
int64 start_timestamp = 4; // samples
int64 end_timestamp = 5;
// list of samples between start_timestamp and end_timestamp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, cleaning up.

@davidzhao
Copy link
Member

oh by the way, could you also add a changeset?

@boks1971
Copy link
Contributor Author

I still do not understand how to generate this changeset thing properly. Will read up more. Hopefully, this is good enough for this - 726d0b4

@boks1971
Copy link
Contributor Author

I still do not understand how to generate this changeset thing properly. Will read up more. Hopefully, this is good enough for this - 726d0b4

Hmm, I made this minor, maybe should just be patch?

@boks1971
Copy link
Contributor Author

okay, trying again - dc586e3. Made it a patch. Also, included all packages although pnpm changeset said that @livekit/protocol is unchanged.

@davidzhao
Copy link
Member

okay, trying again - dc586e3. Made it a patch. Also, included all packages although pnpm changeset said that @livekit/protocol is unchanged.

lg!

@boks1971 boks1971 merged commit b757624 into main Sep 13, 2024
3 checks passed
@boks1971 boks1971 deleted the raja_metrics_ts branch September 13, 2024 06:27
@github-actions github-actions bot mentioned this pull request Sep 10, 2024
boks1971 added a commit that referenced this pull request Sep 13, 2024
* Some metrics protocol changes

- Add an envelope time stamp. That should be timestamp when the packet
  is actually sent.
- Remove `start_timestamp`/`end_timestamp` from `TimeseriesMetric` as it
  is not clear how it will be used. Can add later if needed.

* generated protobuf

* change comment

* generated protobuf

* comments

* generated protobuf

* clean up

* generated protobuf

* comment to mention absolute time

* generated protobuf

* adding server normalized timestamps

* generated protobuf

* comment

* generated protobuf

* comments

* generated protobuf

* Changeset

* remove incorrect changeset

* try again

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
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.

5 participants