Skip to content

Integrate high-level observability using Tracer #392

Open
@aryanjassal

Description

@aryanjassal

Specification

Some work has been done in js-logger for rolling out a custom implementation of tracing which supports streaming and potentially unending spans. (js-logger#47). We now need to use the tracing system in Polykey to gain observability during Polykey's runtime.

Obtaining observability helps debug resource leaks more easily, and given how frequently the seednodes shut down and polykey remains stuck in a stopping state, there are a lot of them. This is meant to simplify finding and fixing them.

Additional context

Tasks

  1. Start by monkey-patching tracer to plan out integration (async-init for lifecycles)
  2. Extract data and pipe it to a visualiser to see the spans and events
  3. Fully integrate tracer if the small pilot experiment was successful

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions