Skip to content

Add meters to custom slot supplier contexts#913

Merged
Sushisource merged 3 commits intomasterfrom
fix-attach-metrics
May 13, 2025
Merged

Add meters to custom slot supplier contexts#913
Sushisource merged 3 commits intomasterfrom
fix-attach-metrics

Conversation

@Sushisource
Copy link
Copy Markdown
Member

What was changed

Add metrics meters to slot supplier contexts & fix bug where attach metrics was useless on a tuner holder

Why?

Fixes bug & allows for recording metrics on slot supplier contexts.

Mostly used this as a testpiece for some agentic AI coding.

Checklist

  1. Closes [Bug] TunerHolder's attach_metrics is useless #904

  2. How was this tested:
    Added test

  3. Any docs updates needed?

@Sushisource Sushisource marked this pull request as ready for review May 13, 2025 06:04
@Sushisource Sushisource requested a review from a team as a code owner May 13, 2025 06:04
Copy link
Copy Markdown
Contributor

@cretz cretz left a comment

Choose a reason for hiding this comment

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

Looks to not affect any languages (most use telemetry().get_metric_meter() as needed)

@Sushisource Sushisource merged commit 3a5ed35 into master May 13, 2025
17 checks passed
@Sushisource Sushisource deleted the fix-attach-metrics branch May 13, 2025 16:31
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.

[Bug] TunerHolder's attach_metrics is useless

2 participants