opencensus_absinthe v0.2.0 Opencensus.Absinthe.Plug

Modify your Absinthe.Plug pipeline for Opencensus.Absinthe:

Installation

Specify traced_pipeline/2 as your pipeline in your Absinthe.Plug.opts/0, e.g. via Phoenix.Router.forward/4:

forward "/graphql", Absinthe.Plug,
  schema: MyApp.Schema,
  pipeline: {Opencensus.Absinthe.Plug, :traced_pipeline}

WARNING: traced_pipeline/2 will be present only if Absinthe.Plug is loaded. Don't forget your absinthe_plug dependency in mix.exs!

Link to this section Summary

Functions

Return the default pipeline with tracing phases.

Link to this section Functions

Link to this function

traced_pipeline(config, pipeline_opts \\ [])

Return the default pipeline with tracing phases.

See also: