opensafely-core / opensafely-core/sysadmin

Forward otel traces to job-server or similar

Open
#102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
0
Forks
0
Avg merge
2d 7h
Merged PRs (30d)
3

Description

We can use the jaeger exporter to forward otel json encoded trace data over HTTP to job-server.

e.g.

exporters:
  jaeger:
    endpoint: "http://localhost:14268/api/traces"
    protocol: "http"
    # The format of the payload to send. Can be "json" or "protobuf".
    # Default is "protobuf".
    format: "json"

Note: found via chatGPT.

This should be easy for job-server to parse and store somewhere.

This solves two limitations of using honeycomb:

  1. we can retain this data longer than Honeycomb's two month retention period.
  2. we can surface this data to users (Honeycomb API for this is behind Enterprise tier, and can only query last 7 days anyway)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Jaeger exporter configuration shown in the issue and review the job-server entry point that would receive it. Decide where JSON trace data should be parsed, stored, and surfaced; done means a defined end-to-end path that retains the traces and makes them available to users.

Written by the indexing model from the issue text.

Assessment

Domain
backend, 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.