View Source AbsintheFieldTelemetry.Middleware (absinthe_field_telemetry v0.2.5)
Absinthe middleware for adding telemetry for usage of fields in a GraphQL schema.
Add AbsintheFieldTelemetry.Middleware
to all the fields on the schema. The
easiest way to achieve this is using the middleware/3
callback:
def middleware(middleware, _field, _object), do: [AbsintheFieldTelemetry.Middleware | middleware]