Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W web
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • INGInious
  • web
  • Wiki
  • monitoring

monitoring · Changes

Page history
Update monitoring authored May 26, 2020 by Martin Müller's avatar Martin Müller
Hide whitespace changes
Inline Side-by-side
monitoring.md
View page @ 7d0d10b7
Grafana currently is only exposed to `localhost`, therefore a local port forwarding is needed to access the web service remotely via SSH:
`ssh -L3000:localhost:3000 141.13.250.82`
\ No newline at end of file
**Grafana**: `ssh -L3000:localhost:3000 141.13.250.82` (Browser: http://localhost:3000)
**Prometheus**: `ssh -L3000:localhost:3000 141.13.250.82` (Browser: http://localhost:9090/graph)
Setup
-----
The monitoring is based on [Prometheus](https://prometheus.io/), [Node exporter](https://github.com/prometheus/node_exporter) and [Grafana](https://grafana.com/).
Prometheus and Grafana are running in Docker containers which are orchestrated via Docker Compose. The neccessary files are located in `/srv/monitoring/`.
The host metrics are collected via a manually installed instance of Node exporter, as running it in a Docker container is discouraged[^1]. For the installation of Node exporter, the [guide of Prometheus](https://prometheus.io/docs/guides/node-exporter/) was followed.
Footnotes
---------
[^1]: "It's not recommended to deploy it as a Docker container because it requires access to the host system." https://github.com/prometheus/node_exporter/blob/b14168cf6ad2fd40bbe53b29eebea149dae31105/README.md#using-docker
\ No newline at end of file
Clone repository
  • Home
  • monitoring