Skip to content

Includes the GraphQL operation name in the datadog APM resource name if one is present.

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE.Apache
Unknown
LICENSE.BSD3
Notifications You must be signed in to change notification settings

butchmarshall/datadog-ariadne-graphql-server

Repository files navigation

Datadog Ariadne GraphQL Server

Includes the GraphQL operation name in the datadog APM resource name if one is present.

e.g.

query FindProductByIdWithUsers {
  productById(id: 1) {
    name
    users {
      name
    }
  }
}

The APM resource name will be changed fromPOST /graphql to POST /graphql?operationName=FindProductByIdWithUsers.

Usage

Use this server in place of ariadne.asgi import GraphQL

from datadog_ariadne_graphql_server.asgi import GraphQL

def configure_graphql(component: FastAPI) -> None:
    component.add_route(
        "/graphql", GraphQL(schema=schema, extensions=[OpenTracingExtension])
    )

About

Includes the GraphQL operation name in the datadog APM resource name if one is present.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE.Apache
Unknown
LICENSE.BSD3

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages