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
It would be nice to be able to add graphs dynamically. For example, we wanted to convert Prometheus metrics to Statsviz graphs, with one graph per Prometheus label value. But the full set of values is not known in advance, so it is not possible to pass all options to statsviz.Register.
It is almost possible to do now by creating Statsviz HTTP handler on the fly in the other HTTP handler:
Unfortunately, there are two handlers: Index() and Ws(). Maybe it is possible to create a single handler that would route to one or another based on, say, HTTP headers?
The text was updated successfully, but these errors were encountered:
It would be nice to be able to add graphs dynamically. For example, we wanted to convert Prometheus metrics to Statsviz graphs, with one graph per Prometheus label value. But the full set of values is not known in advance, so it is not possible to pass all options to
statsviz.Register
.It is almost possible to do now by creating Statsviz HTTP handler on the fly in the other HTTP handler:
Unfortunately, there are two handlers:
Index()
andWs()
. Maybe it is possible to create a single handler that would route to one or another based on, say, HTTP headers?The text was updated successfully, but these errors were encountered: