Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var HeadBlockNumber = MetricSet.NewHeadBlockNumber("dgraphql")
HeadBlockNumber records the latest block number seen by a pipeline (if present)
var HeadTimeDrift = MetricSet.NewHeadTimeDrift("dgraphql")
HeadTimeDrift records the amount of time difference between 'now' and the block time of the latest block seen by a pipeline (if present)
var InflightMutationCount = MetricSet.NewGaugeVec("dgraphql_inflight_mutation_count", perGraphqlLabels, "inflight mutation count currently active, per GraphQL type")
InflightMutationCount records active count of mutation being resolved, per GraphQL type
var InflightQueryCount = MetricSet.NewGaugeVec("dgraphql_inflight_query_count", perGraphqlLabels, "inflight query count currently active, per GraphQL type")
InflightQueryCount records active count of query being resolved, per GraphQL type
var InflightRequestCount = MetricSet.NewGauge("dgraphql_inflight_request_count", "inflight request count currently active")
InflightRequestCount records active count of request (either an active Query, Mutation or Subscription)
var InflightSubscriptionCount = MetricSet.NewGaugeVec("dgraphql_inflight_subscription_count", perGraphqlLabels, "inflight subscription count currently active, per GraphQL type")
InflightSubscriptionCount records active count of subscription, per GraphQL type (top-level subscription element)
var MetricSet = dmetrics.NewSet()
MetricSet contains all recorded metrics for this package
var MutationResponseTimes = MetricSet.NewHistogramVec("dgraphql_mutation_response_times", perGraphqlLabels, "mutation response times histogram for percentile sampling, per GraphQL type")
MutationResponseTimes records histogram of "mutation" time taken to answer
var QueryResponseTimes = MetricSet.NewHistogramVec("dgraphql_query_response_times", perGraphqlLabels, "query response times histogram for percentile sampling, per GraphQL type")
QueryResponseTimes records histogram of "query" time taken to answer
var TotalMutationCount = MetricSet.NewCounterVec("dgraphql_total_mutation_count", perGraphqlLabels, "total count of mutation started since startup time, per GraphQL type")
TotalMutationCount records total count of mutation performed so far, per GraphQL type
var TotalQueryCount = MetricSet.NewCounterVec("dgraphql_total_query_count", perGraphqlLabels, "total count of query started since startup time, per GraphQL type")
TotalQueryCount records total count of query performed so far, per GraphQL type
var TotalRequestCount = MetricSet.NewCounter("dgraphql_total_request_count", "total count of request served since startup time")
TotalRequestCount records total count of request (either a Query, Mutation or Subscription)
var TotalSubscriptionCount = MetricSet.NewCounterVec("dgraphql_total_subscription_count", perGraphqlLabels, "total count of subscription started since startup time, per GraphQL type")
TotalSubscriptionCount records total count of query performed so far, per GraphQL type (top-level subscription element)
Functions ¶
This section is empty.
Types ¶
This section is empty.