Skip to content

Commit

Permalink
Add __requires field to dashboard json files. (#88)
Browse files Browse the repository at this point in the history
* Add  field to dashboard json files.

Signed-off-by: Hannah Troisi <[email protected]>

* Add dashboard descriptions

Signed-off-by: Hannah Troisi <[email protected]>

Signed-off-by: Hannah Troisi <[email protected]>
  • Loading branch information
htroisi authored Sep 15, 2022
1 parent a3db0df commit caf93b3
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 7 deletions.
3 changes: 3 additions & 0 deletions dashboards/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Pixie Grafana Dashboards

These Pixie dashboards are available in the [Grafana dashboard marketplace](https://grafana.com/grafana/dashboards/). You can also manually [import a dashboard](https://grafana.com/docs/grafana/v9.0/dashboards/export-import/#import-dashboard).
23 changes: 22 additions & 1 deletion dashboards/px_cluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@
"pluginName": "Pixie Grafana Datasource Plugin"
}
],
"__requires": [
{
"type": "panel",
"id": "nodeGraph",
"name": "Node Graph",
"version": ""
},
{
"type": "datasource",
"id": "pixie-pixie-datasource",
"name": "Pixie Grafana Datasource Plugin",
"version": "0.0.9"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -735,7 +755,8 @@
},
"timepicker": {},
"timezone": "",
"title": "px/cluster",
"title": "Pixie K8s Cluster Overview",
"description": "Dashboard includes a service map of the HTTP traffic between the services in your cluster, along with the latency, error rate, and throughput per service. It also lists the nodes, namespaces and pods available in your cluster. To learn how to monitor service performance and infrastructure health using Pixie, see https://docs.px.dev/tutorials/pixie-101/service-performance/",
"uid": "JMSOCJj7k",
"version": 1,
"weekStart": ""
Expand Down
17 changes: 16 additions & 1 deletion dashboards/px_http_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@
"pluginName": "Pixie Grafana Datasource Plugin"
}
],
"__requires": [
{
"type": "datasource",
"id": "pixie-pixie-datasource",
"name": "Pixie Grafana Datasource Plugin",
"version": "0.0.9"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -322,7 +336,8 @@
},
"timepicker": {},
"timezone": "",
"title": "px/http_data",
"title": "Pixie HTTP Traces",
"description": "Dashboard includes a table of the most recent full-body HTTP messages in your cluster. For more info about request tracing using Pixie, see https://docs.px.dev/tutorials/pixie-101/request-tracing",
"uid": "HDxrIyjnz",
"version": 1,
"weekStart": ""
Expand Down
23 changes: 22 additions & 1 deletion dashboards/px_namespace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@
"pluginName": "Pixie Grafana Datasource Plugin"
}
],
"__requires": [
{
"type": "panel",
"id": "nodeGraph",
"name": "Node Graph",
"version": ""
},
{
"type": "datasource",
"id": "pixie-pixie-datasource",
"name": "Pixie Grafana Datasource Plugin",
"version": "0.0.9"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -435,7 +455,8 @@
},
"timepicker": {},
"timezone": "",
"title": "px/namespace",
"title": "Pixie Namespace Overview",
"description": "Dashboard includes a service map of the HTTP traffic between the services in the selected namspace, along with the latency, error rate, and throughput per service. It also lists pods available in the namespace. To learn how to monitor service performance and infrastructure health using Pixie, see https://docs.px.dev/tutorials/pixie-101/service-performance/",
"uid": "F6XZR_j7k",
"version": 1,
"weekStart": ""
Expand Down
26 changes: 24 additions & 2 deletions dashboards/px_node.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@
"pluginName": "Pixie Grafana Datasource Plugin"
}
],
"__requires": [
{
"type": "datasource",
"id": "pixie-pixie-datasource",
"name": "Pixie Grafana Datasource Plugin",
"version": "0.0.9"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -1173,8 +1193,10 @@
},
"timepicker": {},
"timezone": "",
"title": "px/node",
"title": "Pixie Node Overview",
"description": "Dashboard shows the pods on the selected node along with their CPU usage, memory consumption, and network traffic stats. To learn how to monitor infrastructure health using Pixie, see https://docs.px.dev/tutorials/pixie-101/infra-health/",
"uid": "tcpoz_jnz",
"version": 1,
"weekStart": ""
}
}

23 changes: 22 additions & 1 deletion dashboards/px_pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@
"pluginName": "Pixie Grafana Datasource Plugin"
}
],
"__requires": [
{
"type": "datasource",
"id": "pixie-pixie-datasource",
"name": "Pixie Grafana Datasource Plugin",
"version": "0.0.9"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -1415,7 +1435,8 @@
},
"timepicker": {},
"timezone": "",
"title": "px/pod",
"title": "Pixie Pod Overview",
"description": "Dashboard shows an overview of the specified pod, including high-level HTTP application metrics, and resource usage. To learn how to monitor infrastructure health using Pixie, see https://docs.px.dev/tutorials/pixie-101/infra-health/",
"uid": "_t3foxCnz",
"version": 1,
"weekStart": ""
Expand Down
23 changes: 22 additions & 1 deletion dashboards/px_service.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@
"pluginName": "Pixie Grafana Datasource Plugin"
}
],
"__requires": [
{
"type": "datasource",
"id": "pixie-pixie-datasource",
"name": "Pixie Grafana Datasource Plugin",
"version": "0.0.9"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand Down Expand Up @@ -877,7 +897,8 @@
},
"timepicker": {},
"timezone": "",
"title": "px/service",
"title": "Pixie Service Overview",
"description": "Dashboard shows latency, error, and throughput over time for all HTTP requests for the selected service. It also includes a sample of slow requests to the service. To learn how to monitor service performance using Pixie, see https://docs.px.dev/tutorials/pixie-101/service-performance/",
"uid": "qhHtFyCnk",
"version": 1,
"weekStart": ""
Expand Down

0 comments on commit caf93b3

Please sign in to comment.