Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
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.
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.