#graphql #apollo #studio #async #graphql-client #async-await

async-graphql-extension-apollo-tracing

An async_graphql extension to send traces & metrics to Apollo Studio

39 releases (25 stable)

3.2.15 Apr 1, 2024
3.2.14 Mar 7, 2024
3.2.11 Feb 5, 2024
3.2.0 Dec 28, 2023
0.4.2 Jul 28, 2021

#1229 in Network programming

Download history 409/week @ 2024-08-19 647/week @ 2024-08-26 259/week @ 2024-09-02 541/week @ 2024-09-09 523/week @ 2024-09-16 1006/week @ 2024-09-23 481/week @ 2024-09-30 467/week @ 2024-10-07 899/week @ 2024-10-14 530/week @ 2024-10-21 876/week @ 2024-10-28 422/week @ 2024-11-04 334/week @ 2024-11-11 663/week @ 2024-11-18 812/week @ 2024-11-25 708/week @ 2024-12-02

2,533 downloads per month

MIT license

165KB
785 lines

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

Dependencies

~22–38MB
~688K SLoC