Skip to content

Conversation

@sumansaurabh
Copy link

Summary

Implements component-defined metrics system to resolve dependency issues between devices and Firecracker's logger implementation.

Changes Made

  • Introduced Metric trait in vmm-sys-util for generic metrics interface
  • Refactored devices to define and manage their own metrics
  • Removed hard dependency on Firecracker-specific logger from device components
  • Updated metric collection and reporting mechanisms

Why This Change

This change is particularly important for devices as it allows them to operate independently of Firecracker's logging infrastructure, improving modularity and reusability of device components.

Fixes #1759


This PR was created from task: https://cloud.blackbox.ai/tasks/L44NtJCkLwh9TZ_Noc0zD

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.

Use component defined metrics

2 participants