graphql-hive / graphql-hive/console
update clickhouse materialized views to identify otel spans based on `hive.kind` attributes
Open
- Dominant language
- TypeScript
- Stars
- 483
- Forks
- 145
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 65
Description
The `otel_traces_normalized_mv` materialized view should not rely on the condition for identifying a trace.
```
WHERE
empty("ParentSpanId")
AND notEmpty("SpanAttributes"['hive.graphql'])
```
Instead we want to do it based on the `hive.kind` attribute specified in https://www.notion.so/theguildoss/Tracing-2ceb6b71848a80779e94e7514284b2f4
_____
Related links:
- https://github.com/graphql-hive/gateway/issues/2010
- https://www.notion.so/theguildoss/Tracing-2ceb6b71848a80779e94e7514284b2f4
Contributor guide
Assessment
This issue has not been assessed yet.