Skip to content

Commit

Permalink
chore: update dashboard, prom+grafana compose manifest
Browse files Browse the repository at this point in the history
Signed-off-by: Utku Ozdemir <utkuozdemir@gmail.com>
  • Loading branch information
utkuozdemir committed Jun 28, 2024
1 parent c66d0cc commit c6879ef
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 24 deletions.
52 changes: 28 additions & 24 deletions grafana/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "10.4.3"
"version": "11.1.0"
},
{
"type": "datasource",
Expand Down Expand Up @@ -110,6 +110,7 @@
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
Expand All @@ -122,7 +123,7 @@
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -187,6 +188,7 @@
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
Expand All @@ -199,7 +201,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -274,7 +276,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -349,7 +351,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -424,7 +426,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -499,7 +501,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -602,7 +604,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -657,6 +659,7 @@
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
Expand All @@ -669,7 +672,7 @@
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -725,6 +728,7 @@
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
Expand All @@ -737,7 +741,7 @@
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -819,7 +823,7 @@
"text": {},
"valueMode": "color"
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -967,7 +971,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1042,7 +1046,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1117,7 +1121,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1192,7 +1196,7 @@
"sizing": "auto",
"text": {}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1295,7 +1299,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1393,7 +1397,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1496,7 +1500,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1594,7 +1598,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1697,7 +1701,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1795,7 +1799,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1894,7 +1898,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1993,7 +1997,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -2092,7 +2096,7 @@
"sort": "none"
}
},
"pluginVersion": "10.4.3",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down
14 changes: 14 additions & 0 deletions test/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
services:
prometheus:
image: prom/prometheus:v2.45.6
ports:
- "9090:9090"
volumes:
- ./prometheus/data:/prometheus
- ./prometheus/config:/etc/prometheus
grafana:
image: grafana/grafana:11.1.0
ports:
- "3000:3000"
volumes:
- ./grafana/data:/var/lib/grafana
1 change: 1 addition & 0 deletions test/grafana/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data/
1 change: 1 addition & 0 deletions test/prometheus/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data/
11 changes: 11 additions & 0 deletions test/prometheus/config/prometheus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
global:
scrape_interval: 15s
evaluation_interval: 15s

rule_files:
- "/etc/prometheus/rules/*.yaml"

scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]

0 comments on commit c6879ef

Please sign in to comment.