Skip to content

chore(bottlecap): move EnhancedMetrics to live in InvocationProcessor#446

Merged
duncanista merged 2 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
jordan.gonzalez/bottlecap/refactor-enhanced-metrics-calls
Nov 11, 2024
Merged

chore(bottlecap): move EnhancedMetrics to live in InvocationProcessor#446
duncanista merged 2 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
jordan.gonzalez/bottlecap/refactor-enhanced-metrics-calls

Conversation

@duncanista
Copy link
Copy Markdown
Contributor

@duncanista duncanista commented Nov 11, 2024

What?

Moves where enhanced metrics are being called to be aggregated.

Why?

Reduce the footprint in main.rs, and to have more control over the whole invocation lifecycle.

Also unblocks #444

@duncanista duncanista requested a review from a team as a code owner November 11, 2024 20:07
Copy link
Copy Markdown
Contributor

@shreyamalpani shreyamalpani left a comment

Choose a reason for hiding this comment

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

LGTM!

@duncanista duncanista merged commit 00360bf into jordan.gonzalez/bottlecap/universal-instrumentation Nov 11, 2024
@duncanista duncanista deleted the jordan.gonzalez/bottlecap/refactor-enhanced-metrics-calls branch November 11, 2024 20:24
duncanista added a commit that referenced this pull request Nov 15, 2024
…sor` (#446)

* move `EnhancedMetrics` to live in `InvocationProcessor`

* rename field to `enhanced_metrics_enabled`
duncanista added a commit that referenced this pull request Nov 19, 2024
…sor` (#446)

* move `EnhancedMetrics` to live in `InvocationProcessor`

* rename field to `enhanced_metrics_enabled`
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