alertmanager
alertmanager copied to clipboard
remove go long
https://github.com/prometheus/alertmanager/blob/157f95b606737d0cb6e7bd99e98348c311ab5add/api/v2/restapi/server.go#L39
And is your suggestion to inline the LimitListener implementation? There are multiple challenges there:
- That code is generated via
go-swagger, and can't be easily edited. - Removing import will not actually remove the dependency on
golang.org/x/net/netutil, since this is still used transitively. - We don't have a viable alternative implementation.
Could you elaborate what the benefits of this change are? As it stands, this does not seem actionable to me.
alertmanager scrub manager