hasura / hasura/graphql-engine

Observability: Adding more information to traces

Open
#8,827 1 comment 0 reactions 0 assignees View on GitHub
k/enhancement observability t/product-platform
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Tracing information doesn't provide information related to acquiring DB locks or any other operation that Hasura performs while executing an operation, making it hard to diagnose issues like DB connections exhausted, etc. E.g. this screenshot:

Screenshot 2022-08-22 at 7 26 36 AM

### Is your proposal related to a problem?
Tracing information as currently available is not effective when trying to a subset of perf issues, especially when the DB query execution times are not a bottleneck.

### Describe the solution you'd like

Missing information is available for all major/logical operations performed by Hasura.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the current tracing instrumentation and identifying which major or logical Hasura operations are represented in traces. Compare the existing trace data with the reported database-lock and connection-exhaustion diagnostic needs; the work is complete when traces expose the missing operation information, including database lock acquisition where applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, postgres
Domain
databases, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.