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

Make dashboards publishable on grafana.com #27

Merged
merged 4 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ Unless explicitly noted, all dashboards are compatible with new Vertica server v

Some dashboards might use metrics that are available in specific Vertica versions. Review the [Prometheus metrics](https://docs.vertica.com/latest/en/admin/managing-db/https-service/prometheus-metrics/) to verify which metrics are available in each Vertica version.

## Cluster overview
## Vertica Overview (Prometheus)

`cluster-overview.json`

[![revision](https://img.shields.io/badge/revision-1-orange.svg)](https://example.com) [![release](https://img.shields.io/badge/release-1.0.0-green.svg)](https://github.com/vertica/grafana-dashboards/releases) [![Dashboard ID](https://img.shields.io/badge/Dashboard_ID-TBD-yellow.svg)](https://grafana.com/grafana/dashboards/?search=TBD) [![Vertica compatibility](https://img.shields.io/badge/Vertica-v23.3.0-blue.svg)](https://docs.vertica.com/latest/en/)

General cluster overview. This dashboard is designed to be the initial landing page in Grafana.

## Queries
## Vertica Queries (Prometheus)

`queries.json`

[![revision](https://img.shields.io/badge/revision-1-orange.svg)](https://example.com) [![release](https://img.shields.io/badge/release-1.0.0-green.svg)](https://github.com/vertica/grafana-dashboards/releases) [![Dashboard ID](https://img.shields.io/badge/Dashboard_ID-TBD-yellow.svg)](https://img.shields.io/badge/Dashboard_ID-TBD-yellow.svg) [![Vertica compatibility](https://img.shields.io/badge/Vertica-v23.3.0-blue.svg)](https://docs.vertica.com/latest/en/)

Detailed information about [queries](https://docs.vertica.com/latest/en/data-analysis/queries/) that are currently running in a cluster.

## Resource management
## Vertica Resource Management (Prometheus)

`resource-management.json`

[![revision](https://img.shields.io/badge/revision-1-orange.svg)](https://example.com) [![release](https://img.shields.io/badge/release-1.0.0-green.svg)](https://github.com/vertica/grafana-dashboards/releases) [![Dashboard ID](https://img.shields.io/badge/Dashboard_ID-TBD-yellow.svg)](https://img.shields.io/badge/Dashboard_ID-TBD-yellow.svg) [![Vertica compatibility](https://img.shields.io/badge/Vertica-v23.3.0-blue.svg)](https://docs.vertica.com/latest/en/)

Details about [user-defined](https://docs.vertica.com/latest/en/sql-reference/statements/create-statements/create-resource-pool/) and [built-in](<(https://docs.vertica.com/latest/en/sql-reference/statements/create-statements/create-resource-pool/built-pools/)>) resource pool usage.

## Depot
## Vertica Depot (Prometheus)

`depot.json`

Expand Down
65 changes: 45 additions & 20 deletions dashboards/cluster-overview.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,44 @@
{
"__inputs": [],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.5.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -45,8 +85,8 @@
"panels": [
{
"datasource": {
"type": "vertica-grafana-datasource",
"uid": "US_55Cc4z"
"type": "prometheus",
"uid": "${datasource}"
},
"gridPos": {
"h": 2,
Expand All @@ -69,11 +109,9 @@
"targets": [
{
"datasource": {
"type": "vertica-grafana-datasource",
"uid": "US_55Cc4z"
"type": "prometheus",
"uid": "${datasource}"
},
"format": "time_series",
"rawSql": "SELECT \n$__time(end_time), \naverage_cpu_usage_percent \nFROM \nv_monitor.cpu_usage \nWHERE \n$__timeFilter(end_time)",
"refId": "A"
}
],
Expand All @@ -82,10 +120,6 @@
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
Expand All @@ -94,15 +128,6 @@
},
"id": 2,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Overview",
"type": "row"
},
Expand Down Expand Up @@ -1627,7 +1652,7 @@
},
"timepicker": {},
"timezone": "",
"title": "Cluster overview",
"title": "Vertica Overview (Prometheus)",
"uid": "vertica-cluster-overview",
"version": 1,
"weekStart": ""
Expand Down
129 changes: 57 additions & 72 deletions dashboards/depot.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
{
"__inputs": [],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.5.1"
},
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -45,8 +97,8 @@
"panels": [
{
"datasource": {
"type": "vertica-grafana-datasource",
"uid": "US_55Cc4z"
"type": "prometheus",
"uid": "${datasource}"
},
"gridPos": {
"h": 2,
Expand All @@ -69,11 +121,9 @@
"targets": [
{
"datasource": {
"type": "vertica-grafana-datasource",
"uid": "US_55Cc4z"
"type": "prometheus",
"uid": "${datasource}"
},
"format": "time_series",
"rawSql": "SELECT \n$__time(end_time), \naverage_cpu_usage_percent \nFROM \nv_monitor.cpu_usage \nWHERE \n$__timeFilter(end_time)",
spilchen marked this conversation as resolved.
Show resolved Hide resolved
"refId": "A"
}
],
Expand All @@ -82,10 +132,6 @@
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
Expand All @@ -94,15 +140,6 @@
},
"id": 10,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Current Depot Usage",
"type": "row"
},
Expand Down Expand Up @@ -372,10 +409,6 @@
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
Expand All @@ -384,15 +417,6 @@
},
"id": 64,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Depot Lookup Hits",
"type": "row"
},
Expand Down Expand Up @@ -601,10 +625,6 @@
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
Expand All @@ -613,15 +633,6 @@
},
"id": 19,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Depots Fetches and Evictions",
"type": "row"
},
Expand Down Expand Up @@ -1014,10 +1025,6 @@
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
Expand All @@ -1026,15 +1033,6 @@
},
"id": 21,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Running/Queued Uploads from Depot to Communal",
"type": "row"
},
Expand Down Expand Up @@ -1437,10 +1435,6 @@
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
Expand All @@ -1449,15 +1443,6 @@
},
"id": 54,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Uploads from Depot to Communal",
"type": "row"
},
Expand Down Expand Up @@ -2034,7 +2019,7 @@
},
"timepicker": {},
"timezone": "",
"title": "Depot",
"title": "Vertica Depot (Prometheus)",
"uid": "vertica-depot",
"version": 1,
"weekStart": ""
Expand Down
Loading