Skip to content

2.0.0

Compare
Choose a tag to compare
@MaeIsBad MaeIsBad released this 07 Mar 14:22
· 80 commits to master since this release
7f22a96

Added

  • new trace_request_selections option to enable tracing root level GraphQL selections, which will be stored under graphql.request.selections.
  • attribute graphql.operation.name was added.
  • attribute graphql.operation.type was added.
  • span_name can now be set to :dynamic, causing it to be set dynamically based on the operation type and name, as recommended by opentelemetry.

Changed

  • BREAKING: graphql.request.query was renamed to graphql.document.

  • BREAKING: the default value of span_name is now :dynamic

  • BREAKING: opentelemetry_absinthe will no longer log sensitive information by default.
    By default the graphql.request.variables, graphql.response.errors and graphql.response.result attributes will no longer be emited.
    The previous behavior can be restored by setting the opentelemetry_absinthe configuration options.

  • OpentelemetryAbsinthe.setup can now optionally recieve the configuration. Previously OpentelemetryAbsinthe.Instrumentation.setup had to be used.

Deprecated

  • setting the span name to a static string.

Commits

  • Prepare for release (#88) by MaeIsBad
  • [PLATFORM-994]: Bump dependencies (#86) by Cristiano Piemontese
  • Use OTel recommended names for attributes (#79) by Rosa Richter
  • Fix docs generation (#87) by MaeIsBad
  • [PLATFORM-938]: Don't log sensitive data by default (#80) by MaeIsBad
  • [PLATFORM-991]: graphql.request.query and graphql.request.variables are not extracted (#83) by MaeIsBad
  • Add CODEOWNERS (#84) by MaeIsBad
  • [PLATFORM-990]: Fix OTLP exporter failed to initialize error in test (#82) by MaeIsBad
  • Make selections lazy & prepare for release (#78) by Cristiano Piemontese
  • Add tracing support for root-level selections + tests (#74) by Alex Pedenko