View Source AbsintheFieldTelemetry.Middleware (absinthe_field_telemetry v0.2.0)

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]

Summary

Functions

Link to this function

record_path_hit(path, schema)

View Source