Skip to content

add metrics to sorbet-runtime#844

Draft
jesse-shopify wants to merge 1 commit intomasterfrom
typing-metrics
Draft

add metrics to sorbet-runtime#844
jesse-shopify wants to merge 1 commit intomasterfrom
typing-metrics

Conversation

@jesse-shopify
Copy link
Copy Markdown

@jesse-shopify jesse-shopify commented Mar 2, 2026

Motivation

Test plan

See included automated tests.

Copy link
Copy Markdown
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Add in-process counters for observability into sorbet-runtime's
startup and runtime costs. Tracks method wrapper creation, type-checked
calls, abstract method calls/raises, and abstract class
instantiations/raises.

Metrics are reported via a configurable T::Configuration.metrics_handler
callback and tagged with BUILDKITE_BUILD_ID for per-build
aggregation.

Also bumps gemspec version to 0.6.12887 to satisfy downstream ~> 0.6
constraints.
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.

1 participant