Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save steveandroulakis/9fcaa2394d2cd6b6481f758686f66595 to your computer and use it in GitHub Desktop.

Select an option

Save steveandroulakis/9fcaa2394d2cd6b6481f758686f66595 to your computer and use it in GitHub Desktop.
Grafana Dashboard: Temporal OSS 7 day and 30 day action counts
{
"annotations": {
"list": [
{
"$$hashKey": "object:71",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 10,
"iteration": 1701808745039,
"links": [],
"panels": [
{
"datasource": "TemporalMetrics",
"gridPos": {
"h": 8,
"w": 5,
"x": 0,
"y": 0
},
"hideTimeOverride": false,
"id": 5,
"interval": "5s",
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto"
},
"pluginVersion": "6.7.1",
"targets": [
{
"expr": "sum(increase(action{exported_namespace=~\"$exported_namespace\"}[30d])) by (exported_namespace)",
"interval": "",
"legendFormat": "{{exported_namespace}}",
"refId": "A"
}
],
"timeFrom": "30d",
"timeShift": null,
"title": "Actions by Namespace",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 5,
"y": 0
},
"hiddenSeries": false,
"id": 3,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(action{exported_namespace=~\"$exported_namespace\"}[30d])) by (exported_namespace)",
"interval": "",
"legendFormat": "{{exported_namespace}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": "30d",
"timeRegions": [],
"timeShift": null,
"title": "Actions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:77",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:78",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"datasource": "TemporalMetrics",
"gridPos": {
"h": 8,
"w": 5,
"x": 0,
"y": 8
},
"id": 6,
"interval": "5s",
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto"
},
"pluginVersion": "6.7.1",
"targets": [
{
"expr": "sum(increase(action{exported_namespace=~\"$exported_namespace\"}[7d])) by (exported_namespace)",
"interval": "",
"legendFormat": "{{exported_namespace}}",
"refId": "A"
}
],
"timeFrom": "7d",
"timeShift": null,
"title": "Actions by Namespace",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 5,
"y": 8
},
"hiddenSeries": false,
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(action{exported_namespace=~\"$exported_namespace\"}[7d])) by (exported_namespace)",
"interval": "",
"legendFormat": "{{exported_namespace}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": "7d",
"timeRegions": [],
"timeShift": null,
"title": "Actions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:77",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:78",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": false,
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {
"text": "default + stevea",
"value": [
"default",
"stevea"
]
},
"datasource": "TemporalMetrics",
"definition": "label_values(action, exported_namespace)",
"hide": 0,
"includeAll": false,
"index": -1,
"label": "namespace",
"multi": true,
"name": "exported_namespace",
"options": [
{
"$$hashKey": "object:130",
"selected": true,
"text": "default",
"value": "default"
},
{
"$$hashKey": "object:131",
"selected": true,
"text": "stevea",
"value": "stevea"
},
{
"$$hashKey": "object:132",
"selected": false,
"text": "temporal_system",
"value": "temporal_system"
}
],
"query": "label_values(action, exported_namespace)",
"refresh": 0,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-30d",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "OSS Load Characteristics",
"uid": "V6aBxgDSk",
"variables": {
"list": []
},
"version": 19
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment