-
Notifications
You must be signed in to change notification settings - Fork 26
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
Collect and visualize application metrics #130
Open
8 of 10 tasks
Labels
Comments
marein
added a commit
that referenced
this issue
May 17, 2022
Currently the scrape path is still hard coded. This commit just flushes the local repository copy. * Dashboards and datasources are provisioned via files. * Example metric for snapshot of running games is given. * User arrival doesn't happen on path '^/metrics/'.
marein
added a commit
that referenced
this issue
Oct 8, 2022
Set up grafana and prometheus to enable monitoring #130. Setup details: * For grafana, dashboards and datasources are provisioned via files. * For prometheus, configuration files are available for docker swarm and normal docker setups. * Following labels are configurable via container labels: job, port, path. * Instance name is either the container name or the node name. This depends on the deployment mode (global vs replicated). This commit comes with a dashboard for all available nodes #130.
marein
added a commit
that referenced
this issue
Oct 10, 2022
Apply better calculations for the node dashboard #130. Optimization details: * Use $__rate_interval for rate queries to include more datapoints for the calculation. * Use auto interval for the whole dashboard. * Remove the interval factor. * Configure time interval of prometheus datasource to the scrape interval set in prometheus.
Merged
marein
added a commit
that referenced
this issue
Oct 11, 2022
Add MySQL dashboard to Grafana #130. Additionally apply same sorting for containers in docker-compose.yml and docker-compose.production.yml.
Merged
Merged
marein
added a commit
that referenced
this issue
Oct 14, 2022
Add Traefik dashboard to Grafana #130. Additionally remove preselection of dev values in all other dashboards.
Merged
Merged
marein
added a commit
that referenced
this issue
Oct 16, 2022
Upon arrival, ArrivialAuthenticator creates a new user in the identity context and authenticates them in the session. The current implementation covers what AssignUserIdOnKernelRequest did before. It adds some complexity, but opens the way for #130 to secure the /metrics endpoint with basic auth, and #6 to eventually authenticate the user in any way.
marein
added a commit
that referenced
this issue
Oct 16, 2022
Upon arrival, ArrivialAuthenticator creates a new user in the identity context and authenticates them in the session. The current implementation covers what AssignUserIdOnKernelRequest did before. It adds some complexity, but opens the way for #130 to secure the /metrics endpoint with basic auth, and #6 to eventually authenticate the user in any way.
marein
added a commit
that referenced
this issue
Oct 16, 2022
Upon arrival, ArrivialAuthenticator creates a new user in the identity context and authenticates them in the session. The current implementation covers what AssignUserIdOnKernelRequest did before. It adds some complexity, but opens the way for #130 to secure the /metrics endpoint with basic auth, and #6 to eventually authenticate the user in any way.
marein
added a commit
that referenced
this issue
Oct 26, 2022
Upon arrival, ArrivialAuthenticator creates a new user in the identity context and authenticates them in the session #153. The current implementation covers what AssignUserIdOnKernelRequest did before. It adds some complexity, but opens the way for #130 to secure the /metrics endpoint for php with basic auth, and #6 to eventually authenticate the user in any way.
marein
added a commit
that referenced
this issue
Oct 30, 2022
Add RabbitMQ dashboard to Grafana. The management interface is disabled. Grafana is now available on port 8083. The dashboard contains metrics about the cluster nodes and AMQP objects #130.
Merged
marein
added a commit
that referenced
this issue
Nov 18, 2022
Mention Grafana and Prometheus as the observability stack #130.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To better understand the behavior of the application, data points should be collected and visualized. Besides node statistics, statistics of the individual applications such as Nginx, Nchan, PHP-FPM, RabbitMQ, Redis and MySQL should also be collected. In addition, there are statistics related to this app, such as replication lag and event store pointer for each event store follower (replication lag based on the pointer value), number of running and open games, user signups and arrivals and alike.
This issue requires several iterations:
Set up monitoring infrastructure #144
Set up monitoring infrastructure #144
Optimize node dashboard #148
Add MySQL dashboard #146
Add RabbitMQ dashboard #147
Add Redis dashboard #152
Add Traefik dashboard #151
Add Nchan dashboard #149
artprima/prometheus-metrics-bundle
).Add PHP-FPM dashboard #168
This can be done with the Prometheus Pushgateway, with the Statsd Exporter or other similar solutions deployed as a sidecar.
README.md
.Mention Grafana and Prometheus #156
The text was updated successfully, but these errors were encountered: