Skip to content

Runtime Events OpenTelemetry Experiment - #2

Open
dramos020 wants to merge 15 commits into
pr_targetfrom
main_copy
Open

dramos020 wants to merge 15 commits into
pr_targetfrom
main_copy

Conversation

@dramos020

Copy link
Copy Markdown
Owner

No description provided.

@dramos020

Copy link
Copy Markdown
Owner Author

After discussion, I THINK we came to the conclusion that events are sent in order by timestamp. This means that we can assume if we receive an event with a timestamp that is greater than a given activity's stop timestamp, we will no longer need the activity in the cache. We can use this to flush the cache of activities no longer needed every X number of events.

@noahfalk

noahfalk commented Nov 4, 2022

Copy link
Copy Markdown
Collaborator

After discussion, I THINK we came to the conclusion that events are sent in order by timestamp

This is true for all the events on the runtime's native provider (which includes JIT and GC events), but just for clarity you could still see other kinds of events with timestamps that are out of order relative to the native provider events.

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.

2 participants