Search…
Use with Grafana
​groundcover stores all the data it collects in Grafana supported datasources. These datasources are deployed in-cluster inside your environment and under your control so they can be immediately added to your Grafana, enriching your current monitoring experience with highly intimate and granular insights about your applications and infrastructure.
Tip: groundcover has a set of example dashboards that are published in our Grafana Labs page. You can import and explore them for quicker onboarding.
Here's how to add and explore groundcover's datasources:
Metrics
Traces
Logs
Our metrics are stored in a Prometheus-compatible database. The technology we use is VictoriaMetrics which can scale under the high cardinality metrics generated by the groundcover platform. Add the datasource
  1. 1.
    Add a new Prometheus data source
    ​
  2. 2.
    Name the datasource using a meaningful name
  3. 3.
    In the URL section enter: http://groundcover-victoria-metrics:8428​
  4. 4.
    Set Scrape Interval to 30s
    ​
​
Make your first query
  1. 1.
    Enter the Explore tab in Grafana
  2. 2.
    Choose your newly added datasource and open the metric browser to see all supported metrics and labels
    Want to use our metrics to create your own dashboards? Check out the full description of the metrics groundcover creates out-of-the-box.in the Supported metrics section.
    ​
Our traces are stored in a PostgreSQL-compatible database. The technology we use is TimescaleDB which has cutting-edge performance and is designed as a modern observability backend solution. Add the datasource
  1. 1.
    Add a new PosgreSQL data source
    ​
  2. 2.
    Name the datasource using a meaningful name
  3. 3.
    In the Host section enter groundcover-tsdb:5432
  4. 4.
    In the Database section enter groundcover
  5. 5.
    In the User section enter postgres
  6. 6.
    In the Password section enter the secret groundcover-tsdb-credentials
    the TimescaleDB password is generated automatically. To retrieve the secret run the following CMD:
    kubectl get secret groundcover-tsdb-credentials --template={{.data.PATRONI_SUPERUSER_PASSWORD}} -n groundcover | base64 -d
  7. 7.
    In the TLS/SSL Mode section select verify-ca
    ​
  8. 8.
    In the TLS/SSL Root Certificate section enter /var/groundcover/tls/server.crt
  9. 9.
    In the Postgres Details section set as seen here below:
    ​
Our traces are stored in a Grafana Loki database, which is the logging backend solution by Grafana Labs. Loki provides a modern efficient approach to high-volume logs handling and is naturally integrated into Grafana. Add the datasource
  1. 1.
    Add new Loki data source
    ​
  2. 2.
    Name the datasource using a meaningful name
  3. 3.
    In the URL section enter http://groundcover-loki:3100​
Copy link