ownCloud was allowing direct requests to the DB to see the user status and additional important for statistics parameters, however the optimal for NC way is to work via interfaces. See example here
Thus, the backend must be adjusted to request data via interfaces.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
{"Exception":"OCA\\\\SccuotNC\\\\Exception\\\\CollectorException","Message":"An error occurred while exposing metrics: Histogram buckets must be in increasing order: 8.4346396227678E-5 >= 8.4346396227678E-5","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/sccuot_nc/lib/Service/SnapshotService.php","line":52,"function":"exposeSnapshotMetrics","class":"OCA\\\\SccuotNC\\\\Service\\\\SnapshotService","type":"->","args":[{"__class__":"OCA\\\\SccuotNC\\\\Db\\\\Snapshot","id":192}]},{"file":"/var/www/html/nextcloud/apps/sccuot_nc/lib/Controller/MetricsController.php","line":31,"function":"expose","class":"OCA\\\\SccuotNC\\\\Service\\\\SnapshotService","type":"->","args":[]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"metricsPage","class":"OCA\\\\SccuotNC\\\\Controller\\\\MetricsController","type":"->","args":[]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\\\AppFramework\\\\Http\\\\Dispatcher","type":"->","args":[{"__class__":"OCA\\\\SccuotNC\\\\Controller\\\\MetricsController"},"metricsPage"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\\\AppFramework\\\\Http\\\\Dispatcher","type":"->","args":[{"__class__":"OCA\\\\SccuotNC\\\\Controller\\\\MetricsController"},"metricsPage"]},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\\\AppFramework\\\\App","type":"::","args":["OCA\\\\SccuotNC\\\\Controller\\\\MetricsController","metricsPage",{"__class__":"OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer"},{"_route":"sccuot_nc.metrics.metricspage"}]},{"file":"/var/www/html/nextcloud/lib/base.php","line":1060,"function":"match","class":"OC\\\\Route\\\\Router","type":"->","args":["/apps/sccuot_nc/metrics"]},{"file":"/var/www/html/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/nextcloud/apps/sccuot_nc/lib/Service/SnapshotService.php","Line":112,"message":"An error occurred while exposing metrics: Histogram buckets must be in increasing order: 8.4346396227678E-5 >= 8.4346396227678E-5","exception":{},"CustomMessage":"An error occurred while exposing metrics: Histogram buckets must be in increasing order: 8.4346396227678E-5 >= 8.4346396227678E-5"}}