mirror of
https://github.com/golang/go
synced 2024-11-06 03:16:10 -07:00
2e887e3d13
Instead we only have a single exporter, and it must delegate behaviour to any other exporters it wants to include. This removes a whole collection of suprises caused by init functions adding new exporters to a list, as well as generally making things faster, at the small expense of needing to implement a custom exporter if you want to combine the features of a few other exporters. This is essentially the opposite of https://go-review.googlesource.com/c/tools/+/212243 which will now be abandoned in favor of this approach. Change-Id: Icacb4c1f0f40f99ddd1d82c73d4f25a3486e56ce Reviewed-on: https://go-review.googlesource.com/c/tools/+/220857 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
prometheus.go |