Description
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
What happened:
The podMonitor example under the "Prometheus community version (helm) - kube-prometheus-stack with pod monitor" section will scrap the metric from all the pods which port is TCP and the pod with target label.
What you expected to happen:
It should only scrape the metric from the target pod by combining two array items under the podMetricsEndpoints into a single item.
Metadata
Metadata
Assignees
Labels
No labels
Activity
andrewhu-hcl commentedon Oct 27, 2021
Created a PR to fix the issue here
#142