Skip to content

Commit

Permalink
update readme with new dashboard usage struct (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <[email protected]>
  • Loading branch information
Nexucis authored Nov 29, 2024
1 parent 58c64fa commit 56d00f9
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,26 @@ The tool provides an API endpoint, `/api/v1/metrics`, which returns the usage da
"node_cpu_seconds_total": {
"usage": {
"dashboards": [
"https://demo.perses.dev/api/v1/projects/myinsight/dashboards/first_demo",
"https://demo.perses.dev/api/v1/projects/myworkshopproject/dashboards/myfirstdashboard",
"https://demo.perses.dev/api/v1/projects/perses/dashboards/nodeexporterfull",
"https://demo.perses.dev/api/v1/projects/showcase/dashboards/statchartpanel"
{
"id": "myinsight/first_demo",
"name": "first_demo",
"url": "https://demo.perses.dev/api/v1/projects/myinsight/dashboards/first_demo"
},
{
"id": "myworkshopproject/myfirstdashboard",
"name": "myfirstdashboard",
"url": "https://demo.perses.dev/api/v1/projects/myworkshopproject/dashboards/myfirstdashboard"
},
{
"id": "perses/nodeexporterfull",
"name": "nodeexporterfull",
"url": "https://demo.perses.dev/api/v1/projects/perses/dashboards/nodeexporterfull"
},
{
"id": "showcase/statchartpanel",
"name": "statchartpanel",
"url": "https://demo.perses.dev/api/v1/projects/showcase/dashboards/statchartpanel"
}
],
"recordingRules": [
{
Expand Down Expand Up @@ -70,7 +86,11 @@ The tool provides an API endpoint, `/api/v1/metrics`, which returns the usage da
"node_disk_discard_time_seconds_total": {
"usage": {
"dashboards": [
"https://demo.perses.dev/api/v1/projects/perses/dashboards/nodeexporterfull"
{
"id": "perses/nodeexporterfull",
"name": "nodeexporterfull",
"url": "https://demo.perses.dev/api/v1/projects/perses/dashboards/nodeexporterfull"
}
]
}
}
Expand Down Expand Up @@ -104,7 +124,11 @@ The API endpoint `/api/v1/partial_metrics` is exposing the usage for metrics tha
"node_cpu_utilization_${instance}": {
"usage": {
"dashboards": [
"https://demo.perses.dev/api/v1/projects/perses/dashboards/nodeexporterfull"
{
"id": "perses/nodeexporterfull",
"name": "nodeexporterfull",
"url": "https://demo.perses.dev/api/v1/projects/perses/dashboards/nodeexporterfull"
}
]
}
}
Expand Down

0 comments on commit 56d00f9

Please sign in to comment.