mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
9e98ed2310
JIRA: https://hasurahq.atlassian.net/browse/V3ENGINE-176 This PR implements usage analytics ([RFC](https://docs.google.com/document/d/1k8_ZniiejxHhD0SphtEJ2mg6MoJON0dkk0q4b5WZWDE/edit)) for a GraphQL query when a request is made. The analytics data JSON is attached to the span, whose details are provided below: Span name - `execute` Attribute - `internal.query_usage_analytics = <JSON-string>` OR `internal.query_usage_analytics_error = <String>` Refs: - [Link](https://github.com/hasura/v3-engine/pull/606) to the PR, where data types for usage analytics were added. - [Link](https://github.com/hasura/v3-engine/pull/715) to the PR, where some improvements are made to the analytics data types. Note: Changelog entry is added. V3_GIT_ORIGIN_REV_ID: f4089f3354b638533ff72fbec72951e883c31100 |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |