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

fix(blockscout): open /metrics backend path in the proxy; add grafana… #140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
1,394 changes: 1,394 additions & 0 deletions files/dashboards/BEAM-dashboard.json

Large diffs are not rendered by default.

2,727 changes: 2,727 additions & 0 deletions files/dashboards/BEAM-memory_allocators.json

Large diffs are not rendered by default.

926 changes: 926 additions & 0 deletions files/dashboards/Elixir-dashboard.json

Large diffs are not rendered by default.

846 changes: 348 additions & 498 deletions files/dashboards/c_chain.json

Large diffs are not rendered by default.

615 changes: 108 additions & 507 deletions files/dashboards/database.json

Large diffs are not rendered by default.

3,256 changes: 3,256 additions & 0 deletions files/dashboards/erpc.json

Large diffs are not rendered by default.

229 changes: 229 additions & 0 deletions files/dashboards/logs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Loki dashboard with quick search and timeline.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 13186,
"graphTooltip": 0,
"id": 12,
"links": [
{
"asDropdown": false,
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"Avalanche"
],
"targetBlank": false,
"title": "",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"panels": [
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "loki",
"uid": "${loki_datasource}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.4.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${loki_datasource}"
},
"editorMode": "code",
"expr": "sum(count_over_time({network_uuid=~\".+\"} |~ \"$search\"[$__interval]))",
"queryType": "range",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Timeline",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": false
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "loki",
"uid": "${loki_datasource}"
},
"gridPos": {
"h": 25,
"w": 24,
"x": 0,
"y": 3
},
"id": 2,
"maxDataPoints": "",
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": true,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": true
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${loki_datasource}"
},
"editorMode": "code",
"expr": "{network_uuid=~\".+\"} |~ \"$search\"",
"queryType": "range",
"refId": "A"
}
],
"title": "Logs",
"type": "logs"
}
],
"schemaVersion": 39,
"tags": [
"Avalanche"
],
"templating": {
"list": [
{
"hide": 0,
"includeAll": false,
"label": "Data Source",
"multi": false,
"name": "loki_datasource",
"options": [],
"query": "loki",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"hide": 0,
"name": "search",
"query": "",
"skipUrlSync": false,
"type": "textbox"
},
{
"datasource": {
"type": "loki",
"uid": "${loki_datasource}"
},
"filters": [],
"hide": 0,
"label": "Filter",
"name": "filter",
"skipUrlSync": false,
"type": "adhoc"
}
]
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Logs",
"uid": "liz0yRCZz",
"version": 6,
"weekStart": ""
}
Loading