Envelop is a lightweight library allowing developers to easily develop, share, collaborate and extend their GraphQL execution layer. Envelop is the missing GraphQL plugin system.
When using the Prometheus plugin for envelop when the configuration options are set to exclude operationName or operationType the label gets added as undefined rather than excluded. Because of this line here.
When using the Prometheus plugin for envelop when the configuration options are set to exclude
operationName
oroperationType
the label gets added as undefined rather than excluded. Because of this line here.This leaves you with metrics like so
That the metric does not have the operationName when it is filtered via config.