#graphql #apollo #studio #graphql-client

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

#750 in Network programming

Download history 639/week @ 2024-11-20 791/week @ 2024-11-27 703/week @ 2024-12-04 199/week @ 2024-12-11 373/week @ 2024-12-18 210/week @ 2024-12-25 30/week @ 2025-01-01 580/week @ 2025-01-08 190/week @ 2025-01-15 24/week @ 2025-01-22 483/week @ 2025-01-29 120/week @ 2025-02-05 39/week @ 2025-02-12 129/week @ 2025-02-19 50/week @ 2025-02-26 261/week @ 2025-03-05

479 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

~25–42MB
~768K SLoC