Without this change If I have a single pod with two containers and just one port from one container and profiles.grafana.com/${type}.port: "${port}" annotation, the agent will attempt to scrape the port twice, which is unnecessary and also does not work for cpu .
…s) with needed port
Without this change If I have a single pod with two containers and just one port from one container and
profiles.grafana.com/${type}.port: "${port}"
annotation, the agent will attempt to scrape the port twice, which is unnecessary and also does not work for cpu .