graphql-engine/v3/crates
Rakesh Emmadi 9e98ed2310 Implement query usage analytics (#713)
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
2024-07-01 12:10:12 +00:00
..
auth Stdout otel exporter (#776) 2024-06-27 14:45:05 +00:00
custom-connector tests: use a different argument name for header forwarding (#773) 2024-06-27 09:53:57 +00:00
engine update pg configuration for tests (#787) 2024-07-01 09:12:36 +00:00
execute Implement query usage analytics (#713) 2024-07-01 12:10:12 +00:00
lang-graphql Replace lazy_static with stdlib equivalents. (#758) 2024-06-26 12:45:41 +00:00
metadata-resolve Implement query usage analytics (#713) 2024-07-01 12:10:12 +00:00
metadata-schema-generator Move all dependency versions into the workspace file. (#734) 2024-06-20 12:25:55 +00:00
open-dds Add support for multiple versions of ndc-spec to Open DD and metadata-resolve (#781) 2024-06-28 11:57:41 +00:00
query-usage-analytics Improvements to query usage analytics data shape (#715) 2024-06-25 07:57:15 +00:00
schema Implement query usage analytics (#713) 2024-07-01 12:10:12 +00:00
sql do not replace tablescans for information_schema (#764) 2024-06-25 23:41:01 +00:00
utils Open DD changes for OrderByExpression (#780) 2024-06-28 11:26:30 +00:00