async-graphql-extension-apollo-tracing

Crates.ioasync-graphql-extension-apollo-tracing
lib.rsasync-graphql-extension-apollo-tracing
version3.2.15
sourcesrc
created_at2021-07-20 16:30:49.215107
updated_at2024-04-01 20:41:33.788194
descriptionAn async_graphql extension to send traces & metrics to Apollo Studio
homepage
repositoryhttps://github.com/async-graphql/async_graphql_apollo_studio_extension
max_upload_size
id425238
size246,249
Anthony Griffon (Miaxos)

documentation

https://docs.rs/async-graphql-extension-apollo-tracing

README

async-graphql-extension-apollo-tracing

Crates.io version Documentation Download


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

Commit count: 209

cargo fmt