-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using each service's metric API to substitute System Management services #486
Comments
@MonicaisHer yes, it's a good advice, I have been thinking about this feature, but it needs more time to redesign the GUI, so it's not finished before code freeze, keep this issue open until it's done. |
@MonicaisHer Hi, I ran into some hard challenges if we use each service's metric API instead.
though all the registered services GUI got from all the issues above will be no problem if system agent existed. do you have any better ideas? and @bnevis-i what do you think? |
@badboy-huaqiao What if as part of service registration the metrics API URL was added as additional service metadata? Then, instead of hard-coding it into the UI it could just be queried from Consul?
If we did it right, security-proxy-setup could just walk consul and configure the forwards, which I think would simplify the code a bit. |
@bnevis-i that's great if the registered services returned carried the metadata you mentioned above. Now the data structure of the registration service returned by the
it's better to add some extra metadatas like |
I would file a request in go-mod-registry. There is a Meta property https://www.consul.io/api-docs/agent/service#meta where we could add the additional information. Then we can raise it for Levski planning. |
@bnevis-i that's great, looking forward to the updates. |
I don't know. cc @jpwhitemn @lenny-intel Want to weigh in? |
I will be adding this issue to the architectural topics for the Levski planning meeting for May 16-19. In the near term, the SMA service is not going away. While deprecated, it can't go away until at least EdgeX 3.0. So that gives us tome time to plan what is the path forward and what/how do we want to surface SMA info to tools like the GUI. For now, GUI should take no action and we should add no additional features to any module or service. We should address this in a consistent way once the community picks a path forward. |
ok, remove the |
UI is currently using SMA for tracking each service's metric. I suggest UI use each service's metric API instead. They have the same return value.
SMA is deprecated with the Ireland release. Although SMA is still in use, but it has been tagged for eventual replacement in the future release.
The text was updated successfully, but these errors were encountered: