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

Add __requires field to dashboard json files. #88

Merged
merged 2 commits into from
Sep 15, 2022
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
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",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the title of these dashboards so that they are more understandable to users who are browsing through Grafana's public dashboard marketplace and may not be familiar with Pixie's live view naming.

"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