Skip to content

Conversation

@TylerPachal
Copy link

@TylerPachal TylerPachal commented Jan 26, 2025

This is a first pass on adding Telemetry, to address this issue: #163

I have only added a few measurements, one example of a "regular" metric and only "polling" metric. Once we are happy with these, we can add measurements in more places.

This PR is partially for getting a conversation going around metrics. But partially also to get something merged in that other people can build on.

count: count
}

Telemetry.measure_span(:read_stream_forward, telemetry_metadata, fn ->
Copy link
Author

Choose a reason for hiding this comment

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

❓ Do we want the metrics to mimic the function names? Or should the metrics be lower level?

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