graphql-hive / graphql-hive/console

update clickhouse materialized views to identify otel spans based on `hive.kind` attributes

Open
#7,730 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.