Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGraphQLServerPlugin ¶
func NewGraphQLServerPlugin() graphql.HandlerExtension
NewGraphQLServerPlugin creates a metrics plugin for GraphQL servers. Registers metrics for GraphQL requests, resolvers and responses.
func NewHTTPDSPlugin ¶
NewHTTPDSPlugin creates a metrics plugin for HTTP data sources. Registers the HTTP request method, host, path and status.
func NewRESTServerPlugin ¶
func NewRESTServerPlugin() gin.HandlerFunc
NewRESTServerPlugin creates a metrics plugin for REST servers. Registers metrics for HTTP requests and responses.
func WithServer ¶
WithServer adds a metrics endpoint to a given server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.