Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hostwithquantum/grafana-stack
Grafana for Planetary Quantum
https://github.com/hostwithquantum/grafana-stack
docker docker-swarm grafana grafana-dashboard planetary-quantum
Last synced: about 1 month ago
JSON representation
Grafana for Planetary Quantum
- Host: GitHub
- URL: https://github.com/hostwithquantum/grafana-stack
- Owner: hostwithquantum
- License: mit
- Created: 2022-01-23T15:53:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T09:26:17.000Z (2 months ago)
- Last Synced: 2024-12-30T21:15:52.975Z (about 2 months ago)
- Topics: docker, docker-swarm, grafana, grafana-dashboard, planetary-quantum
- Language: Dockerfile
- Homepage: https://docs.planetary-quantum.com/debugging/grafana/
- Size: 322 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Grafana Setup for Planetary Quantum
https://www.planetary-quantum.com/
In order to access logs and metrics in a unified fashion, this repository contains an example for installing Grafana on your Quantum cluster.
## Deploy
In order to deploy, you'll need our [`quantum-cli` tool](https://cli.planetary-quantum.com/).
Then follow these two steps:
### Create stack file
Copy the `cp docker-compose.example.yml docker-compose.yml`, and edit it:
* set the `traefik.frontend.rule` label to include the hostname of your endpoint/cluster (or your custom domain, if you want that)
* set `INITIAL_ADMIN_PASSWORD` to something random
* set `QUANTUM_ENDPOINT` to the name of your endpoint/cluster### Deploy it
```
$ QUANTUM_ENDPOINT=your-cluster-name
$ quantum-cli stack update --create --wait --stack "grafana-$QUANTUM_ENDPOINT"
```## Basic usage
* on the left-hand side menu choose "Explore"

* select "Docker Logs" at the top, and click on "Logs" right next to it

* select some log label via the drop-down next to the search bar

* you should now see your logsFor metrics: go to Dashboards :point_right: Manage. There should be one pre-configured dashboard "Usage by Stack".