MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / RecordGraphQLLimitRejection

Function RecordGraphQLLimitRejection

internal/metrics/metrics.go:324–326  ·  view source on GitHub ↗

RecordGraphQLLimitRejection records a GraphQL operation rejected for exceeding one of the configured query limits. limit must be one of the GraphQLLimit* constants above.

(limit string)

Source from the content-addressed store, hash-verified

322// exceeding one of the configured query limits. limit must be one of the
323// GraphQLLimit* constants above.
324func RecordGraphQLLimitRejection(limit string) {
325 GraphQLLimitRejectionsTotal.WithLabelValues(limit).Inc()
326}
327
328// RecordClientIDHeaderMissing records a request that had no client ID header.
329func RecordClientIDHeaderMissing() {

Callers 2

GraphqlHandlerMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected