readysettech / readyset

Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.
https://readyset.io
Other
4.54k stars 125 forks source link

Create admin user #1349

Open altmannmarcelo opened 3 months ago

altmannmarcelo commented 3 months ago

Description

There are some external tools such as ProxySQL/Grafana, that require fetching the status of Readyset, such as SHOW READYSET STATUS, SHOW CACHES, SHOW PROXIED QUERIES.

Currently we need to expose the application user(the one Readyset is configured to use to connect to upstream). This is not ideal. Some reasons:

Admin user should be able to run all the commands from https://readyset.io/docs/reference/command-reference

Change in user-visible behavior

Requires documentation change