Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientConnections = promauto.NewCounterVec( prometheus.CounterOpts{ Namespace: "msak", Subsystem: "throughput1", Name: "client_connections_total", }, []string{"direction", "status"}, ) )
Functions ¶
func GetMIDFromRequest ¶ added in v0.2.0
GetMIDFromRequest extracts the measurement id ("mid") from a given HTTP request, if present.
A measurement ID can be specified in two ways: via a "mid" querystring parameter (when access tokens are not required) or via the ID field in the JWT access token.
Types ¶
Click to show internal directories.
Click to hide internal directories.