V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sendingdocu2024
V2EX  ›  外包

寻 Opentelemetry SDK 外包开发,需要比较了解 LLM,纯 Python

  •  
  •   sendingdocu2024 · 1 月 6 日 · 828 次点击
    这是一个创建于 40 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有完整需求文档,开发量大概 2 周时间,预算充足

    需求框架如下

    1. Project Overview

    High-level Requirements

    OpenTelemetry instrumentation packages that capture telemetry from LLM provider SDKs. These packages should support:

    • Auto-Instrumentation:
      • Hook into LLM client libraries with zero code changes for end users
      • Capture tokens, latency, cost, and optionally request/response content
      • Export data via standard OTLP protocol to our-company's backend
      • Follow OpenTelemetry Gen AI Semantic Conventions
    • Manual Instrumentation:
      • Provide tracer API for custom spans (agent workflows, tools, business logic)
      • Support @trace decorator for easy function tracing
      • Allow nesting of custom spans with auto-instrumented LLM calls

    2. Scope of Work

    In Scope

    Task ID Component Description Est. Days
    OTEL-001 OpenAI Chat, completions, embeddings, streaming with TTFT (sync + async)
    OTEL-002 Anthropic Messages API, streaming with TTFT (sync + async)
    OTEL-003 Gemini Content generation, embeddings, streaming with TTFT (sync + async)
    OTEL-004 Content Capture Optional request/response content capture with sanitization
    OTEL-005 Wrapper Package our-company-llm package with one-line setup
    OTEL-006 Multi-Modal Image/audio/video metadata capture for vision and media APIs
    OTEL-007 Manual Instrumentation Tracer API, @trace decorator for custom spans
    Total

    Out of Scope

    • Backend/collector infrastructure (our-company handles this)
    • Dashboard/UI development
    • TypeScript/Node.js instrumentations - future phase

    欢迎 Email 或 留 VX

    neosnaky
        1
    neosnaky  
       1 月 7 日
    邮箱:[email protected]
    微信:clippers1001
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1947 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:25 · PVG 15:25 · LAX 23:25 · JFK 02:25
    ♥ Do have faith in what you're doing.