Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler returns an http.Handler which should be attached to a "/metrics" endpoint for Prometheus to ingest.
func RecordRequestReceived ¶
func RecordRequestReceived()
RecordRequestReceived increments the Prometheus counter for incoming requests.
func RecordRequestSent ¶
RecordRequestSent increments the Prometheus counter for outgoing requests and records an outgoing request size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.