Skip to content

Commit

Permalink
Log Node metric to trace logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkreeftmeijer committed Sep 11, 2024
1 parent b9a840b commit 8bf0500
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ async fn run() -> Result<(), Error> {
let node_metric = KubernetesMetric::from_node_json(kube_response["node"].clone());
metrics.push(node_metric.clone());

trace!("Node: {:?}", node_metric);

if let Some(pods) = kube_response["pods"].as_array() {
for pod in pods {
let pod_metric = KubernetesMetric::from_pod_json(
Expand Down

0 comments on commit 8bf0500

Please sign in to comment.