Skip to content

Commit

Permalink
rename schema file to match the name of the target
Browse files Browse the repository at this point in the history
It seems like we might, conceivably, want to add other metrics with this
target that are not, strictly speaking, sensor measurements --- like
per-component error counts. Also, it seems like most of the Oximeter
schema files have the same name as the target.
  • Loading branch information
hawkw committed Aug 22, 2024
1 parent 6b45732 commit 0d33578
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use tokio::sync::watch;
use tokio::task::JoinHandle;
use uuid::Uuid;

oximeter::use_timeseries!("sensor-measurement.toml");
oximeter::use_timeseries!("hardware-component.toml");
use hardware_component as metric;

/// Handle to the metrics tasks.
Expand Down

0 comments on commit 0d33578

Please sign in to comment.