absinthe_metrics v1.1.0 AbsintheMetrics behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this function

after_resolve(res, list)

View Source

Callback implementation for Absinthe.Middleware.call/2.

Link to this section Callbacks

Link to this callback

field(object, field, args)

View Source

Specs

field(object :: String.t(), field :: String.t(), args :: []) :: any()
Link to this callback

instrument(object, field, result, time)

View Source

Specs

instrument(
  object :: atom(),
  field :: atom(),
  result :: any(),
  time :: non_neg_integer()
) :: any()