alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

remove go long

Open communityworkjma-del opened this issue 2 months ago • 2 comments

https://github.com/prometheus/alertmanager/blob/157f95b606737d0cb6e7bd99e98348c311ab5add/api/v2/restapi/server.go#L39

communityworkjma-del avatar Oct 19 '25 06:10 communityworkjma-del

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.

SoloJacobs avatar Oct 25 '25 09:10 SoloJacobs

alertmanager scrub manager

ajaychandrak2002-bit avatar Nov 07 '25 17:11 ajaychandrak2002-bit