Skip to content

Commit

Permalink
metrics: include pod name in cache hit metric
Browse files Browse the repository at this point in the history
  • Loading branch information
kimtore committed Dec 4, 2024
1 parent 04d0dac commit 1a7efac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ pub fn inc_cache_hits(path: &str, downstream_app: DownstreamApp) {
KeyValue::new("downstream_app_name", downstream_app.name),
KeyValue::new("downstream_app_namespace", downstream_app.namespace),
KeyValue::new("downstream_app_cluster", downstream_app.cluster),
KeyValue::new("pod_name", downstream_app.pod_name),
]);
}

Expand Down

0 comments on commit 1a7efac

Please sign in to comment.