Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source_* and destination_* labels show only unknown #1381

Open
benben opened this issue Feb 24, 2025 · 0 comments
Open

source_* and destination_* labels show only unknown #1381

benben opened this issue Feb 24, 2025 · 0 comments

Comments

@benben
Copy link

benben commented Feb 24, 2025

Describe the bug
Each agent has metrics available under its /metrics endpoint but it lacks the proper labels. Beside destination_ip and source_ip all other labels have the value unknown.

Example snippet from a few series:

networkobservability_adv_tcpflags_count{destination_ip="<redacted>",destination_namespace="unknown",destination_podname="unknown",destination_workload_kind="unknown",destination_workload_name="unknown",flag="PSH",source_ip="<redacted>",source_namespace="unknown",source_podname="unknown",source_workload_kind="unknown",source_workload_name="unknown"} 72
networkobservability_adv_tcpflags_count{destination_ip="<redacted>",destination_namespace="unknown",destination_podname="unknown",destination_workload_kind="unknown",destination_workload_name="unknown",flag="ACK",source_ip="<redacted>",source_namespace="unknown",source_podname="unknown",source_workload_kind="unknown",source_workload_name="unknown"} 87
networkobservability_adv_tcpflags_count{destination_ip="<redacted>",destination_namespace="unknown",destination_podname="unknown",destination_workload_kind="unknown",destination_workload_name="unknown",flag="FIN",source_ip="<redacted>",source_namespace="unknown",source_podname="unknown",source_workload_kind="unknown",source_workload_name="unknown"} 6
networkobservability_adv_tcpflags_count{destination_ip="<redacted>",destination_namespace="unknown",destination_podname="unknown",destination_workload_kind="unknown",destination_workload_name="unknown",flag="PSH",source_ip="<redacted>",source_namespace="unknown",source_podname="unknown",source_workload_kind="unknown",source_workload_name="unknown"} 48
networkobservability_adv_tcpflags_count{destination_ip="<redacted>",destination_namespace="unknown",destination_podname="unknown",destination_workload_kind="unknown",destination_workload_name="unknown",flag="SYN",source_ip="<redacted>",source_namespace="unknown",source_podname="unknown",source_workload_kind="unknown",source_workload_name="unknown"} 6

To Reproduce
Steps to reproduce the behavior:

  1. Install via helm as per (this guide)[https://retina.sh/docs/Installation/Setup#advanced-mode-with-remote-context-with-capture-support].

My helm values:

image:
  tag: v0.0.26
os:
  windows: false
  linux: true
enabledPlugin_linux: '["dropreason","packetforward","linuxutil","packetparser"]'
enablePodLevel: true
enableAnnotations: true
remoteContext: true
operator:
  tag: v0.0.26
  enabled: true
  enableRetinaEndpoint: true

Expected behavior
I expect to see source/destination namespaces and pod names.

Screenshots

Platform (please complete the following information):

  • OS: AL2023
  • Kubernetes Version: 1.31
  • Host: EKS
  • Retina Version: v0.0.26

Additional context

  • cluster has a high pod churn, pods come and go at a high rate
  • removing remoteContext: true from values is not generating any metrics
  • removing enableAnnotations: true from values is not generating any metrics
  • annotation retina.sh: observe seems to not do anything, but hard to verify at the current state
  • cluster is IPv6 only

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant