-
Notifications
You must be signed in to change notification settings - Fork 55
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
Question about cluster mode #88
Comments
Hi @yharish991, appmetrics will only monitor individual node instances, so each of your 8 would have to have separate appmetrics-dash instances. I believe that Bluemix Availability Monitoring works with clusters, have a look at https://console.bluemix.net/catalog/services/availability-monitoring Hope that helps! |
@mattcolegate the OP is using node cluster. I believe the -dash will not work under this configuration, because a single TCP/HTTP port is going to randomly receive requests from different appmetrics instances. I don't think this can be resolved easily, without using a different architecture, one in which the dashboard isn't served by an application instance. I'll confirm it doesn't work when I have some time. |
In the meantime, what are the other options for subscribing to appmetrics data: I think appmetrics-elk and/or appmetrics-statsd would be better, with an external dashboard, it would be getting information from each appmetrics instance independently, and be able to display the data and the process it originates from. |
also, IBM APM and IBM BAM (application monitoring) are full featured systems tracing and monitoring solutions |
I'm facing the same issue using cluster mode, I think the best idea is to make app-dash able to receive multiple metrics package based on an id/name, so each worker can send its own data. We could have a combobox or a list on the dashboard to select which worker we want to see metrics data... We could start just adding an id/name identifier to the data packages sent to front-end. |
having the dash be able to split between different workers is an interesting idea , and not a direction we had previously considered. We do provide integration hooks to prometheus so that would also give you the view from each worker node if you wanted something that would work right now |
Does this library monitor all the processes in the cluster mode? we are running in cluster mode with let say 8 node instances, will it send metrics for each node process, or only from master process?
The text was updated successfully, but these errors were encountered: