grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.66k stars 577 forks source link

fix(helm): kubernetes_pods_*_default_name keep only targets(container… #3279

Closed korniltsev closed 2 months ago

korniltsev commented 2 months ago

…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 .