Great.  Trust you with it.  :)


2013/4/25 Bernerd Schaefer <notifications@github.com>

> In web/status.go:
>
> > @@ -31,11 +34,19 @@ type StatusHandler struct {
> >  }
> >
> >  func (h *StatusHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
> > +	flags := map[string]string{}
> > +
> > +	flag.VisitAll(func(f *flag.Flag) {
>
> I thought about this, but 1) traversal is cheap, and happens on a
> non-critical path, and 2) it would require doing the walk in the root
> prometheus package and encoding the result in the application state, which
> seems like a weird place to put it.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/prometheus/prometheus/pull/189/files#r3955343>
> .
>