prometheus

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string)

func RegisterOn

func RegisterOn(registerer prometheusclient.Registerer, name string)

func UnRegister

func UnRegister()

func UnRegisterFrom

func UnRegisterFrom(registerer prometheusclient.Registerer)

Types

type Tracer

type Tracer struct{}

func (Tracer) ExtensionName

func (a Tracer) ExtensionName() string

func (Tracer) InterceptField

func (a Tracer) InterceptField(ctx context.Context, next graphql.Resolver) (interface{}, error)

func (Tracer) InterceptOperation

func (a Tracer) InterceptOperation(ctx context.Context, next graphql.OperationHandler) graphql.ResponseHandler

func (Tracer) InterceptResponse

func (a Tracer) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response

func (Tracer) Validate

func (a Tracer) Validate(schema graphql.ExecutableSchema) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL