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
Track basic farmOS metrics #22
Comments
Oh I forgot about that Metrics pane! That's a great start. I think having a An alternative might be to make separate endpoints |
Metrics are currently handled by the Metrics can be added to the dashboard by other modules by implementing https://github.com/farmOS/farmOS/blob/7.x-1.x/modules/farm/farm_dashboard/farm_dashboard.api.php#L54 Here is an implementation of that hook in the So maybe the next step would be to break that stuff out to a new
This is a good consideration. Right now there aren't granular permissions for metrics. I think the "right" approach would be for them to be based on the existing permissions (eg: "view all animal assets"), rather than providing new permissions just for metrics. |
Currently the aggregator is caching info returned via API at Alternatively, if we were to add a |
PR that adds a farm_metrics farmOS/farmOS#230 - note this doesn't include a |
The idea here is to be able to aggregate metrics from a farmOS instance. The specific metrics would depend on each use case of the Aggregator. For a crowdsourced community aggregator (described here in farmOS/farmOS#206) basic metrics might be a farm location, total area, number of users, and simple farm "profile" information.
The text was updated successfully, but these errors were encountered: