After quite a few changes to the LocalNet infrastructure, the metrics collection appeared broken on LocalNet.
Summary generated by Reviewpad on 26 Jul 23 21:58 UTC
This pull request fixes the issue with metrics scraping on LocalNet. It updates the Tiltfile and statefulset.yaml files to add pod annotations for Prometheus scraping and specify the port for scraping.
List of changes
Changed podAnnotations helm chart value to always "quote" values in case they are not strings (K8s API expects strings only in annotations)
Added annotations necessary for scraping of exporter endpoints by Prometheus on LocalNet
Description
Fixes metrics scraping on LocalNet.
After quite a few changes to the LocalNet infrastructure, the metrics collection appeared broken on LocalNet.
Summary generated by Reviewpad on 26 Jul 23 21:58 UTC
This pull request fixes the issue with metrics scraping on LocalNet. It updates the Tiltfile and statefulset.yaml files to add pod annotations for Prometheus scraping and specify the port for scraping.
List of changes
podAnnotations
helm chart value to always "quote" values in case they are not strings (K8s API expects strings only in annotations)