Skip to content
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

Set up monitoring infrastructure #144

Merged
merged 11 commits into from
Oct 8, 2022
Merged

Conversation

marein
Copy link
Owner

@marein marein commented Oct 5, 2022

This pull request is the first step for #130. Node metrics are visualized as the first dashboard.

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/'.
This does not work with Docker Swarm,
whose configuration option will be added in another commit.
Either use prometheus-docker.yml or prometheus-dockerswarm.yml
to choose the mode of prometheus.
@marein marein self-assigned this Oct 5, 2022
This just served as an initial example.
Real application metrics will be added
in another pull request.
@marein marein force-pushed the 130-setup-monitoring-infrastructure branch from 1e18c68 to abc9f5b Compare October 5, 2022 21:05
Remove unused flags. All the shown metrics are
accessible, except network statistics. But that's
good enough for the dev environment. In prod, the
exporter should run on the host anyways.
@marein marein changed the title Setup monitoring infrastructure Set up monitoring infrastructure Oct 8, 2022
Additionally fix some regex.
Additionally fix some regex.
@marein marein merged commit ab60359 into master Oct 8, 2022
@marein marein deleted the 130-setup-monitoring-infrastructure branch October 8, 2022 20:07
@marein marein linked an issue Oct 8, 2022 that may be closed by this pull request
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collect and visualize application metrics
1 participant