Skip to content

Commit

Permalink
issue-124: Fixes: Destination DNS Name never forwarded to prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
Barrera, Angel authored and Barrera, Angel committed Jan 28, 2025
1 parent 376e6cb commit 3c8ebce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/sinks/prom.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func (s *PromRemoteWriteSink) pushMetric(ctx context.Context, batch *pb.PodNetwo
labels := []promwrite.Label{
{Name: "__name__", Value: name},
{Name: "cross_zone", Value: isCrossZoneValue(m)},
{Name: "dst_dns_name", Value: m.DstDnsName},
{Name: "dst_ip", Value: dstIP.String()},
{Name: "dst_ip_type", Value: dstIPType},
{Name: "dst_namespace", Value: m.DstNamespace},
Expand Down

0 comments on commit 3c8ebce

Please sign in to comment.