I am currently in the process of rolling out Istio (v1.0.6) for a new set of services. With each deployment I am creating a new k8s service, and updating the Istio VirtualService to point to the new service when ready to shift the traffic across, all of this works fine. My concern is that the Istio shipped Prometheus instance continues to expose metrics for the old, no longer in use services. Ideally I would like to stop reporting the old data once the old service has been removed, or some fixed period afterwards.
It seems that the data is being reported to Prometheus from Istio, and I am unsure how to go about removing / limiting it. Any help / pointers would be useful. I found https://archive.istio.io/v1.0/docs/reference/config/policy-and-telemetry/adapters/prometheus/ but it is unclear if this is what I am looking for, or where it should be configured.