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
Describe the bug
A request to /api/extensions/dashboardstatus/connectionLogs/{channelId}?fetchSize=1 should per the docs only return a single entry. It returns more than that - doesn't seem to be limiting.
I'm pretty sure this boils down to the fact that the fetchSize argument is never used here:
Workaround(s)
It's pretty rare to need to fetch only a single entry. My use case is that I want to expose a mirth_channel_last_activity metric from our open source Prometheus exporter and want to try to minimize the amount of data being pulled from Mirth since the exporter will probably be polled every 15 or 30 seconds.
The text was updated successfully, but these errors were encountered:
Describe the bug
A request to
/api/extensions/dashboardstatus/connectionLogs/{channelId}?fetchSize=1
should per the docs only return a single entry. It returns more than that - doesn't seem to be limiting.I'm pretty sure this boils down to the fact that the
fetchSize
argument is never used here:connect/server/src/com/mirth/connect/plugins/dashboardstatus/DefaultConnectionLogController.java
Lines 170 to 220 in 924d186
Environment (please complete the following information):
Workaround(s)
It's pretty rare to need to fetch only a single entry. My use case is that I want to expose a
mirth_channel_last_activity
metric from our open source Prometheus exporter and want to try to minimize the amount of data being pulled from Mirth since the exporter will probably be polled every 15 or 30 seconds.The text was updated successfully, but these errors were encountered: