edgexfoundry / edgex-ui-go

Owner: Core/Support WG
Apache License 2.0
99 stars 101 forks source link

Service built from app-service-configurable not appear on App Service List on EdgeX UI #547

Open tntthanh opened 2 years ago

tntthanh commented 2 years ago

Hi everyone, Please help me on this thing - that I had built service into execute file using this source repo (app-service-configurable), then run. But when examining EdgeX UI on port 4000 at App Service List, I don't see the service appearing on the list, although it operated normally that it had exported data stably and correctly. Thanh you very much.

badboy-huaqiao commented 2 years ago

@tntthanh all the meta data of app services are obtained from consul, so your custom app service has to be registered with consul, and it must have a registered name prefixed with app-.

OctopusLian commented 1 year ago

I have the same problem. first, I successful start an edgex ap service

./app-a -cp=consul.http://localhost:8500 -o

second, visit http://localhost:4000/en-US/#/app-service/app-service-list image

I want to this name is app-a application service appear edgex-ui-go app service list,what should I do

lenny-goodell commented 1 year ago

@OctopusLian what service key name are you using in the code? or what name is showing up in Consul for your App? The service key is used as the "name" of the service.