graphql-engine/server/src-lib/Hasura
kodiakhq[bot] bb8f6a76cc PLAT-438: improve traces from OpenTelemetry
[PLAT-438](https://hasurahq.atlassian.net/browse/PLAT-438)

After this change the top level trace is is annotated with `request_id` and `parameterized_query_hash`. It looks like this,  in jeager:

![image](https://user-images.githubusercontent.com/210815/233206107-73682a85-3306-4d1d-8a6c-148890dc1a38.png)

 bulk queries should output a separate `parameterized_query_hash` for each query span

...after the last two commits, things look like this (remove pointless spans, more attributes):

![image](https://user-images.githubusercontent.com/210815/233476532-47521f35-2cdf-4f7d-af13-39c7ce15c9ec.png)

[PLAT-438]: https://hasurahq.atlassian.net/browse/PLAT-438?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8824
GitOrigin-RevId: 0fd105c879161587d41b729b9bac968e92efae95
2023-04-26 16:21:29 +00:00
..
App Move Hasura.GraphQL.Schema.Options to Hasura.RQL.Types.Options 2023-04-24 15:18:56 +00:00
Backends PLAT-438: improve traces from OpenTelemetry 2023-04-26 16:21:29 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
Function Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
GraphQL PLAT-438: improve traces from OpenTelemetry 2023-04-26 16:21:29 +00:00
LogicalModel Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
Metadata Break Metadata.DTO.Utils into Autodocodec.Extended and RQL.Types.BackendTag 2023-04-25 09:01:12 +00:00
NativeQuery Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
QueryTags chore(server): move some query tags code to a sensible place 2023-03-30 21:19:38 +00:00
RemoteSchema Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
RQL Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
Server PLAT-438: improve traces from OpenTelemetry 2023-04-26 16:21:29 +00:00
Services harmonize network manager handling 2023-02-22 15:55:54 +00:00
SQL chore(server): move Hasura.SQL.Backend to Hasura.RQL.Types.BackendType 2023-04-24 18:37:33 +00:00
Tracing PLAT-438: improve traces from OpenTelemetry 2023-04-26 16:21:29 +00:00
App.hs Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
ClientCredentials.hs RemoveHasura.RQL.Types dependency on Backends.Postgres.Execute.Types 2023-04-24 14:41:19 +00:00
CredentialCache.hs server: Make HLint pass, by hook or by crook. 2023-04-25 14:03:02 +00:00
GC.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
HTTP.hs Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
Logging.hs Always flush the loggers without explicitly relying on onException 2023-04-05 11:07:14 +00:00
Name.hs server/postgres: fix the schema types conflict between aggregation predicates and table selection aggregates 2022-10-21 13:28:43 +00:00
PingSources.hs Fix: Unable to use environment variable for CockroachDB connection string in Cloud 2023-02-14 12:15:58 +00:00
QueryTags.hs chore(server): move some query tags code to a sensible place 2023-03-30 21:19:38 +00:00
Services.hs harmonize network manager handling 2023-02-22 15:55:54 +00:00
Session.hs Import HashMap, not HM, Map, M... 2023-04-26 15:43:44 +00:00
ShutdownLatch.hs multitenant: make shutdown logic more abstract 2022-11-23 07:53:19 +00:00
Tracing.hs PLAT-438: improve traces from OpenTelemetry 2023-04-26 16:21:29 +00:00