-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add bambu; #132
add bambu; #132
Conversation
Signed-off-by: Jess Frazelle <[email protected]>
Signed-off-by: Jess Frazelle <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #132 +/- ##
==========================================
- Coverage 23.60% 23.23% -0.38%
==========================================
Files 49 50 +1
Lines 2699 2742 +43
==========================================
Hits 637 637
- Misses 2062 2105 +43
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jess Frazelle <[email protected]>
src/bin/machine-api/cmd_serve.rs
Outdated
@@ -125,6 +125,9 @@ pub async fn main(_cli: &Cli, cfg: &Config, bind: &str) -> Result<()> { | |||
AnyMachine::Moonraker(moonraker) => { | |||
spawn_metrics(&mut registry, key, moonraker.get_temperature_sensors()).await?; | |||
} | |||
AnyMachine::BambuX1Carbon(bambu) => { | |||
spawn_metrics(&mut registry, key, bambu.get_temperature_sensors()).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we discovered this is currently broken because this will race the discovery loop and not spawn metrics for printers discovered after the time of this function call. we need to wire this in deeper
Signed-off-by: Jess Frazelle <[email protected]>
No description provided.