opentelemetry_absinthe v0.3.0 OpentelemetryAbsinthe.Instrumentation

Module for automatic instrumentation of Absinthe resolution.

It works by listening to [:absinthe, :execute, :operation, :start/:stop] telemetry events, which are emitted by Absinthe only since v1.5; therefore it won't work on previous versions.

(you can still call OpentelemetryAbsinthe.Instrumentation.setup() in your application startup code, it just won't do anything.)

Link to this section Summary

Link to this section Functions

Link to this function

handle_operation_start(event_name, measurements, metadata, config)

Link to this function

handle_operation_stop(event_name, measurements, data, config)

Link to this function

setup(instrumentation_opts \\ [])

Link to this macro

span_ctx(args \\ [])

(macro)
Link to this macro

span_ctx(record, args)

(macro)