Documentation ¶
Index ¶
- func RegisterOn(registerer prometheusclient.Registerer)
- func UnRegisterFrom(registerer prometheusclient.Registerer)
- type GraphqlServer
- type PrometheusMetrics
- func (a PrometheusMetrics) ExtensionName() string
- func (a PrometheusMetrics) InterceptField(ctx context.Context, next graphql.Resolver) (interface{}, error)
- func (a PrometheusMetrics) InterceptOperation(ctx context.Context, next graphql.OperationHandler) graphql.ResponseHandler
- func (a PrometheusMetrics) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response
- func (a PrometheusMetrics) Validate(_ graphql.ExecutableSchema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOn ¶
func RegisterOn(registerer prometheusclient.Registerer)
func UnRegisterFrom ¶
func UnRegisterFrom(registerer prometheusclient.Registerer)
Types ¶
type GraphqlServer ¶
type GraphqlServer struct {
// contains filtered or unexported fields
}
func NewGraphqlServer ¶
func NewGraphqlServer(logger *logger.Logger, articleRepository *storage.ArticleRepository, resourceRepository *storage.ResourceRepository, tracerProvider traces.ShutdownTracerProvider, subscriptionManager *notifier.SubscriptionManager[*model.FeedArticle]) *GraphqlServer
func (*GraphqlServer) RegisterRoutes ¶
func (server *GraphqlServer) RegisterRoutes(registrar api.Registrar)
type PrometheusMetrics ¶
type PrometheusMetrics struct{}
func (PrometheusMetrics) ExtensionName ¶
func (a PrometheusMetrics) ExtensionName() string
func (PrometheusMetrics) InterceptField ¶
func (PrometheusMetrics) InterceptOperation ¶
func (a PrometheusMetrics) InterceptOperation(ctx context.Context, next graphql.OperationHandler) graphql.ResponseHandler
func (PrometheusMetrics) InterceptResponse ¶
func (a PrometheusMetrics) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response
func (PrometheusMetrics) Validate ¶
func (a PrometheusMetrics) Validate(_ graphql.ExecutableSchema) error
Click to show internal directories.
Click to hide internal directories.