https://github.com/async-graphql/async_graphql_apollo_studio_extension
Async GraphQL Apollo Extensions
https://github.com/async-graphql/async_graphql_apollo_studio_extension
Last synced: 2 months ago
JSON representation
Async GraphQL Apollo Extensions
- Host: GitHub
- URL: https://github.com/async-graphql/async_graphql_apollo_studio_extension
- Owner: async-graphql
- License: mit
- Created: 2021-07-15T01:25:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T02:46:20.000Z (about 1 year ago)
- Last Synced: 2025-03-24T05:26:49.665Z (3 months ago)
- Language: Rust
- Size: 439 KB
- Stars: 33
- Watchers: 4
- Forks: 8
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
async-graphql-extension-apollo-tracing
====
async-graphql-extension-apollo-tracing is an open-source extension for the crates [async_graphql](https://github.com/async-graphql/async-graphql). The purpose of this extension is to provide a simple way to create & send your graphql metrics to [Apollo Studio](https://studio.apollographql.com/).
- [Documentation](https://docs.rs/async-graphql-extension-apollo-tracing/)
_Tested at Rust version: `rustc 1.75.0`_

## 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
* [GraphQL](https://graphql.org)
* [Async Graphql Crates](https://github.com/async-graphql/async-graphql)
* [Apollo Tracing](https://github.com/apollographql/apollo-tracing)
* [Apollo Server](https://github.com/apollographql/apollo-server)