readyset icon indicating copy to clipboard operation
readyset copied to clipboard

Allow querying configuration

Open dfwilbanks395 opened this issue 2 years ago • 5 comments

We log readyset adapter and server configuration on startup, but it would be nice to have a way to querying this from a running deployment.

dfwilbanks395 avatar Aug 11 '23 22:08 dfwilbanks395

If our flags are exposed as prometheus metrics, I'm sure we'll be able to build a table to display it in grafana if that's what you're asking

dfwilbanks395 avatar Aug 22 '23 15:08 dfwilbanks395

exposing string flags as time series metrics seems a little… odd

glittershark avatar Aug 22 '23 15:08 glittershark

Oh I just realized I misunderstood that prometheus image as an example of sending config as prometheus metrics instead of prometheus' internal config. I'm fine with exposing them through a command or separate endpoint. Either way, easy enough to build into grafana

dfwilbanks395 avatar Aug 22 '23 16:08 dfwilbanks395

@aglover / @gvsg-rs is the intended consumer of this information a human or a program (like a devops script)?

jasobrown-rs avatar Nov 13 '23 22:11 jasobrown-rs

I was assuming both.

gvsg-rs avatar Nov 14 '23 00:11 gvsg-rs