Skip to content

Commit

Permalink
fix: add back TargetAddr at core metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-personio committed Sep 12, 2023
1 parent 9b2fdf8 commit cd732bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 70 deletions.
68 changes: 0 additions & 68 deletions .idea/workspace.xml

This file was deleted.

4 changes: 2 additions & 2 deletions linkerd/app/core/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//! each case. And the metric registries should be instantiated in the
//! inbound/outbound crates, etc.

pub use crate::transport::labels::{TlsAccept};
pub use crate::transport::labels::{TargetAddr, TlsAccept};
use crate::{
classify::Class,
control, http_metrics, http_metrics as metrics, opencensus, profiles, stack_metrics,
Expand Down Expand Up @@ -359,7 +359,7 @@ impl FmtLabels for RouteAuthzLabels {

impl FmtLabels for OutboundEndpointLabels {
fn fmt_labels(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

let tls = TlsConnect::from(&self.server_id);
(tls).fmt_labels(f)?;

Expand Down

0 comments on commit cd732bf

Please sign in to comment.