Closed viinay closed 2 weeks ago
Consul discovery does not work that way. The config assigned to a target goes in the config file not in Consul.
You register your targets as instances of a Service in Consul. Then you set the config you want applied to each group (a Consul Service) under loader.services[].config
.
There is an example in this issue
Hi, I am using loader type consul to load the targets. I am not sure what format I have to use. Here is my gnmic config file
I have created
gnmic/config/targets
folder in consul KV store added following contentThank you