async-graphql / async_graphql_apollo_studio_extension

Async GraphQL Apollo Extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

async-graphql-extension-apollo-tracing



async-graphql-extension-apollo-tracing is an open-source extension for the crates async_graphql. The purpose of this extension is to provide a simple way to create & send your graphql metrics to Apollo Studio.

Tested at Rust version: rustc 1.75.0

Apollo Studio with async_graphql

Features

  • Runtime agnostic (tokio / async-std)
  • Fully support traces & errors
  • Batched Protobuf transfer
  • Client segmentation
  • Additional data to segment your queries by visitors
  • Tracing
  • Schema export to studio
  • Error traces
  • Gzip compression

Crate features

This crate offers the following features, all of which are not activated by default:

  • compression: Enable the GZIP Compression when sending traces.
  • tokio-comp: Enable the Tokio compatibility when you have a tokio-runtime

Example

Check the example from example directory.

References

About

Async GraphQL Apollo Extensions

License:MIT License


Languages

Language:Rust 95.5%Language:Nix 4.5%