Skip to content

Commit

Permalink
hosting(grafana): fix users metrics query
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Oct 29, 2024
1 parent be57556 commit 63a1f59
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions hosting/terraform/grafana/dashboards/synd-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"uid": "grafanacloud-logs"
},
"editorMode": "code",
"expr": "count(count(count_over_time({service_name=\"synd-api\", service_namespace=\"syndicationd\"} | operation = \"FetchEntries\" and result = \"success\"[1w])) by (attributes_enduser_id))",
"expr": "count(count(count_over_time({service_name=\"synd-api\", service_namespace=\"syndicationd\"} | operation = \"FetchEntries\" and result = \"success\"[1w])) by (enduser_id))",
"queryType": "range",
"refId": "A"
}
Expand Down Expand Up @@ -949,8 +949,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
}
Expand Down Expand Up @@ -1046,8 +1045,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1159,8 +1157,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
}
Expand Down Expand Up @@ -1220,13 +1217,13 @@
"list": []
},
"time": {
"from": "now-2d",
"from": "now-12h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "synd-api",
"uid": "cdd2yfdz497uoc",
"version": 47,
"version": 48,
"weekStart": ""
}

0 comments on commit 63a1f59

Please sign in to comment.