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
Currently the only way to get stats of Trino cluster is through /ui/api/stats. However, this endpoint is protected by auth. It would be nice if we can expose the stats to public endpoint, such as /v1/info. Looking at current stats it exposes, it should be harmless to expose everything in /v1/info
You can expose all of these metrics just set up JMX - with prometheus that will grab and store metrics from Trino and Grafana - for metrics visualization.
For now this looks like duplicating feature. I am not sure that Trino maintainers allow this.
Currently the only way to get stats of Trino cluster is through
/ui/api/stats
. However, this endpoint is protected by auth. It would be nice if we can expose the stats to public endpoint, such as/v1/info
. Looking at current stats it exposes, it should be harmless to expose everything in/v1/info
This will benefit Trino Gateway as
QueryCountBasedRouter
relies on these stats to work properly.Happy to send a PR if this is a good idea :)
The text was updated successfully, but these errors were encountered: