Hi, We have a custom exporter which exports the interface counters and we labelled all the interfaces with "port", in our environment we add/delete some interfaces and vlans at runtime.
we query for the number of ports by using this command(curl http://localhost:9090/api/v1/label/port/values), we use this ports as reference for querying the metrics . But This command is listing the ports which are removed from the system and exporter is also not dumping any metrics for these ports. I see the old port values are also retained . Could you please suggest how to refresh port values or any other better approach to find the current ports which the exporter is collecting stats . Thanks, Rajesh Dasari. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAPXMrf8ARpTE2qnb-YNg%3DTaU5B_sVVp6TmuEtRM%3DZf7d8%3DLzbg%40mail.gmail.com.

