Skip to content

Add scrape job for node metrics to BYO Prometheus example #148

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

Open
jowhitehead opened this issue Jan 27, 2025 · 0 comments
Open

Add scrape job for node metrics to BYO Prometheus example #148

jowhitehead opened this issue Jan 27, 2025 · 0 comments
Labels

Comments

@jowhitehead
Copy link

Type of issue

Missing information

Feedback

In our documentation for Container Networking Observability, we have examples for enabling Azure-managed Grafana/Prometheus and for BYO Grafana/Prometheus. In the BYO option, we have a scrape job for the Prometheus server to report pod metrics: 
https://learn.microsoft.com/en-us/azure/aks/container-network-observability-how-to?tabs=non-cilium#visualization-using-byo-grafana

However, there isn't a job for adding the node-level metrics which are reported by the retina daemonset pods on port 10093.
Should we add a scrape job for those metrics too?

- job_name: networkobservability-retina
  kubernetes_sd_configs:
    - role: pod
  relabel_configs:
    - source_labels: [__meta_kubernetes_namespace, __meta_kubernetes_pod_label_k8s_app]
      regex: kube-system;(retina|cilium)
      action: keep
    - source_labels: [__address__]
      action: replace
      regex: ([^:]+)(?::\d+)?
      replacement: $1:10093
      target_label: __address__
    - source_labels: [__meta_kubernetes_pod_node_name]
      target_label: instance
      action: replace

Page URL

https://learn.microsoft.com/en-us/azure/aks/container-network-observability-how-to?tabs=non-cilium#enable-advanced-container-networking-services-on-an-existing-cluster

Content source URL

https://github.com/MicrosoftDocs/azure-aks-docs/blob/main/articles/aks/container-network-observability-how-to.md

Author

@Khushbu-Parekh

Document Id

d13222b2-4f67-0cf6-25df-42a6c9cc1195

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

No branches or pull requests

1 participant