@Chardonneaur opened this Issue on May 25th 2022

Would it be possible to make the report tables from DB Stats plugin available for the custom alerts plugin. The idea would be to get a notification when the database is reaching a specific threshold.

@bx80 commented on May 29th 2022 Contributor

Hi @Chardonneaur That sounds like useful feature :+1: Our product team will evaluate the possibility of including it in a future release.

@sgiehl commented on May 30th 2022 Member

I guess the reason for those reports being hidden there is, that they are removed from report metadata. See https://github.com/matomo-org/matomo/blob/115527353a9e75e01aa4d263408956ae45403bea/plugins/DBStats/Reports/Base.php#L26-L29

Removing that, should make them available everywhere (e.g. in custom alerts, dashboard widgets, ...)

@Chardonneaur commented on June 1st 2022

@sgiehl ok I did it but then Matomo starts to be buggy, in fact the reports have confusing names and it is breaking the UI drop down menu as there is no title assigned to it.

@sgiehl commented on June 1st 2022 Member

Ok. Didn't check if the reports have all required properties defined correctly.

Powered by GitHub Issue Mirror