Documentation ¶
Index ¶
- func Register()
- func RegisterOn(registerer prometheusclient.Registerer)
- func UnRegister()
- func UnRegisterFrom(registerer prometheusclient.Registerer)
- type MetricsServer
- type Tracer
- func (a Tracer) ExtensionName() string
- func (a Tracer) InterceptField(ctx context.Context, next graphql.Resolver) (interface{}, error)
- func (a Tracer) InterceptOperation(ctx context.Context, next graphql.OperationHandler) graphql.ResponseHandler
- func (a Tracer) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response
- func (a Tracer) Validate(schema graphql.ExecutableSchema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOn ¶
func RegisterOn(registerer prometheusclient.Registerer)
func UnRegister ¶
func UnRegister()
func UnRegisterFrom ¶
func UnRegisterFrom(registerer prometheusclient.Registerer)
Types ¶
type MetricsServer ¶
func NewMetricsServer ¶
func NewMetricsServer(address string) *MetricsServer
NewMetricsServer returns a new prometheus server which collects api server metrics
type Tracer ¶
type Tracer struct{}
func (Tracer) ExtensionName ¶
func (Tracer) InterceptField ¶
func (Tracer) InterceptOperation ¶
func (a Tracer) InterceptOperation(ctx context.Context, next graphql.OperationHandler) graphql.ResponseHandler
func (Tracer) InterceptResponse ¶
Click to show internal directories.
Click to hide internal directories.