package
1.59.5
Repository: https://github.com/nowfred/dd-trace-go.git
Documentation: pkg.go.dev

# README

GraphQL Threat Monitoring

This package provides dyngo support for GraphQL operations, which are listened to according to the following sequence diagram:

sequenceDiagram
  participant Root
  participant Request
  participant Execution
  participant Field

  Root ->>+ Request: graphqlsec.StartRequest(...)

  Request ->>+ Execution: grapgqlsec.StartExecution(...)

  par for each field
  Execution ->>+ Field: graphqlsec.StartField(...)
  Field -->>- Execution: field.Finish(...)
  end

  Execution -->>- Request: execution.Finish(...)

  Request -->>- Root: request.Finish(...)

# Functions

FromContext returns the operation of the given type from the context.
StartExecutionOperation starts a new GraphQL query operation, along with the given arguments, and emits a start event up in the operation stack.
StartRequestOperation starts a new GraphQL request operation, along with the given arguments, and emits a start event up in the operation stack.
StartResolveOperation starts a new GraphQL Resolve operation, along with the given arguments, and emits a start event up in the operation stack.

# Structs

No description provided by the author
ExecutionOperationArgs describes arguments passed to a GraphQL query operation.
No description provided by the author
No description provided by the author
RequestOperationArgs describes arguments passed to a GraphQL request.
No description provided by the author
No description provided by the author
ResolveOperationArgs describes arguments passed to a GraphQL field operation.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author