Forward otel traces to job-server or similar

未关闭
#102 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞

调研方向

从 issue 中显示的 Jaeger exporter 配置开始,并检查将接收该配置的 job-server 入口点。确定 JSON trace 数据应在哪里解析、存储和提供;完成意味着定义一条端到端路径,保留这些 trace 并使其可供用户使用。

由索引模型根据 Issue 内容生成。

描述

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)
主要语言
Python
星标
0
派生
0
平均合并
12 小时 47 分钟
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensafely-core/sysadmin 的其他 Issue

查看 opensafely-core/sysadmin 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。