You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to bring my analytics data into Grafana since I already have everything else there. While trying to do so, I noticed there's no real way to transform the current data on GET /stats/hits into a total sum of hits per day, given the limited number of ways I have to process the data (JSONPath and JSONata, neither of which support the transformation required to get a sum per day). I can't make multiple API requests either, it all has to be done in one request.
About the only workaround I can see is a new API endpoint that returns data something like this, combined across all routes as a total sum.
I'm looking to bring my analytics data into Grafana since I already have everything else there. While trying to do so, I noticed there's no real way to transform the current data on
GET /stats/hits
into a total sum of hits per day, given the limited number of ways I have to process the data (JSONPath
andJSONata
, neither of which support the transformation required to get a sum per day). I can't make multiple API requests either, it all has to be done in one request.About the only workaround I can see is a new API endpoint that returns data something like this, combined across all routes as a total sum.
Adding this to the existing
GET /stats/total
would also be doable for my use case.The text was updated successfully, but these errors were encountered: