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.