Skip to content

[DOCS] Document channels-manager OTLP telemetry setup #414

Closed

Description

Documentation Request

Summary

Document the orchestrator/daemon metrics setup for the channels-manager daemon, now that it pushes operational metrics over OTLP.

Affected Pages

  • orchestrator-setup.md (or similar operator deployment docs)
  • channels.md (daemon configuration reference)
  • telemetry.md or metrics.md (if such a page exists)

Context

PR inference-gateway/cli#922 wires the channels-manager daemon to the existing OTLP telemetry engine. When telemetry.enabled and telemetry.otlp.endpoint are set (or the corresponding INFER_TELEMETRY_* env vars), the daemon now pushes these metrics:

  • infer.daemon.messages_processed (counter) - inbound messages processed
  • infer.daemon.message.duration (histogram) - per-message processing duration
  • infer.daemon.active_channels (updown counter) - number of active channels

The daemon also inherits the standard infer.* and gen_ai.* metrics from the shared telemetry engine (resource attributes: infer.execution.mode=daemon).

For operator deployments specifically: the Orchestrator workload is outbound-only (no Service), so OTLP push is the only way to get metrics out. The operator sets INFER_TELEMETRY_ENABLED=true and INFER_TELEMETRY_OTLP_ENDPOINT=<collector> on the daemon container.

References

Activity

  1. added
    documentation
    on Jul 16, 2026
  2. edenreich commented on Jul 16, 2026

    @edenreich
    Contributor

    @infer Can you work on this?

  3. added theissue type on Jul 16, 2026
  4. moved this to Todo in 2026on Jul 16, 2026
  5. inference-gateway-maintainer commented on Jul 16, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Model: ollama_cloud/deepseek-v4-flash · View Job

    Todos

    • Explore repo structure and read existing docs (orchestrator-setup.md, channels.md, telemetry/metrics pages)
    • Add issue to project board and set Status = In progress
    • Create working branch fix/issue-414
    • Update cli-channels.md with daemon telemetry config reference
    • Update observability.md with daemon metrics documentation
    • Update operator.md Orchestrator Telemetry section with daemon metrics note
    • Run checks, commit, push, and open draft PR

    Pull Request

    #415

    ✅ Infer Result: Success

    All tasks complete. Here's a summary of what was changed:

    Documented the channels-manager daemon OTLP telemetry setup across three pages:

    • cli-channels.md - Added a new Telemetry section with: how to enable OTLP push via INFER_TELEMETRY_ENABLED and INFER_TELEMETRY_OTLP_ENDPOINT, the three daemon-specific metrics (infer.daemon.messages_processed, infer.daemon.message.duration, infer.daemon.active_channels), the infer.execution.mode=daemon resource attribute, and operator deployment considerations.

    • observability.md - Added a "Channels Manager (Daemon)" subsection under CLI Telemetry with the daemon-specific metrics table, resource attribute documentation, and example PromQL queries for monitoring message rates, processing latency, and active channels.

    • operator.md - Updated the Orchestrator Telemetry section to mention that the daemon pushes operational metrics (not just traces), added the metrics table inline after the example, and cross-linked to the new observability subsection.

    Draft PR: #415

    Model: ollama_cloud/deepseek-v4-flash · Exit Code: 0 · Duration: 3m 40s

    Tokens: 2,150,329 in · 9,966 out · 2,160,295 total (37 requests)

    Tool calls: 48 total · 85% success rate

    Traces
    Session: 1784230793-1cf80de9
    
    session (standard, success)                3m38s
    ├── chat ollama_cloud/deepseek-v4-flash     2.6s
    ├── execute_tool TodoWrite                 345µs
    ├── chat ollama_cloud/deepseek-v4-flash     1.9s
    ├── execute_tool Read                      125µs [error: tool_error]
    ├── execute_tool Tree                        2ms
    ├── execute_tool Read                       92µs [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash     3.8s
    ├── execute_tool Read                      105µs [error: tool_error]
    ├── execute_tool Read                      106µs [error: tool_error]
    ├── execute_tool Read                      154µs [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash     1.8s
    ├── execute_tool Bash                        3ms
    ├── execute_tool Bash                        2ms
    ├── chat ollama_cloud/deepseek-v4-flash     2.2s
    ├── execute_tool Read                      587µs
    ├── execute_tool Read                      488µs
    ├── execute_tool Read                      270µs
    ├── chat ollama_cloud/deepseek-v4-flash     6.5s
    ├── execute_tool Read                      317µs
    ├── execute_tool Read                      188µs
    ├── chat ollama_cloud/deepseek-v4-flash     7.0s
    ├── execute_tool TodoWrite                  63µs
    ├── chat ollama_cloud/deepseek-v4-flash     2.8s
    ├── execute_tool Bash                      264ms
    ├── chat ollama_cloud/deepseek-v4-flash     2.6s
    ├── execute_tool Bash                       1.1s
    ├── chat ollama_cloud/deepseek-v4-flash     3.0s
    ├── execute_tool Bash                      22.7s
    ├── chat ollama_cloud/deepseek-v4-flash     3.8s
    ├── execute_tool Bash                      491ms
    ├── chat ollama_cloud/deepseek-v4-flash     3.8s
    ├── execute_tool TodoWrite                  61µs
    ├── chat ollama_cloud/deepseek-v4-flash     3.3s
    ├── execute_tool Bash                        3ms
    ├── chat ollama_cloud/deepseek-v4-flash     3.2s
    ├── execute_tool Bash                      198ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash     2.7s
    ├── execute_tool Bash                       55ms
    ├── chat ollama_cloud/deepseek-v4-flash     3.7s
    ├── execute_tool Bash                      941ms
    ├── chat ollama_cloud/deepseek-v4-flash     6.7s
    ├── execute_tool TodoWrite                  62µs
    ├── chat ollama_cloud/deepseek-v4-flash     7.0s
    ├── execute_tool Edit                      354µs
    ├── chat ollama_cloud/deepseek-v4-flash     5.3s
    ├── execute_tool Edit                      364µs
    ├── chat ollama_cloud/deepseek-v4-flash     3.2s
    ├── execute_tool Read                      164µs
    ├── chat ollama_cloud/deepseek-v4-flash     6.2s
    ├── chat ollama_cloud/deepseek-v4-flash     4.0s
    ├── execute_tool Edit                      400µs
    ├── chat ollama_cloud/deepseek-v4-flash     4.6s
    ├── execute_tool Edit                      346µs
    ├── chat ollama_cloud/deepseek-v4-flash     4.3s
    ├── execute_tool Edit                      376µs
    ├── chat ollama_cloud/deepseek-v4-flash     4.4s
    ├── execute_tool TodoWrite                  69µs
    ├── chat ollama_cloud/deepseek-v4-flash     3.5s
    ├── execute_tool Bash                       2.0s
    ├── execute_tool Bash                       4.3s [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash     3.3s
    ├── execute_tool Bash                       3.4s
    ├── chat ollama_cloud/deepseek-v4-flash     3.7s
    ├── execute_tool Bash                      20.0s
    ├── chat ollama_cloud/deepseek-v4-flash     3.7s
    ├── execute_tool Bash                        6ms
    ├── chat ollama_cloud/deepseek-v4-flash     3.9s
    ├── execute_tool Bash                        9ms
    ├── chat ollama_cloud/deepseek-v4-flash     3.5s
    ├── execute_tool Bash                       1.0s
    ├── chat ollama_cloud/deepseek-v4-flash     7.3s
    ├── execute_tool Write                     737µs
    ├── chat ollama_cloud/deepseek-v4-flash     3.8s
    ├── execute_tool Bash                       1.9s
    ├── chat ollama_cloud/deepseek-v4-flash     9.4s
    ├── execute_tool Bash                      622ms
    ├── chat ollama_cloud/deepseek-v4-flash     3.7s
    ├── execute_tool Bash                      588ms
    ├── execute_tool Bash                        5ms
    ├── execute_tool Bash                        5ms
    ├── chat ollama_cloud/deepseek-v4-flash     4.4s
    ├── execute_tool TodoWrite                  66µs
    ├── chat ollama_cloud/deepseek-v4-flash     5.2s
    ╰── chat ollama_cloud/deepseek-v4-flash     4.1s
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 22    │ 9%    │ 2710ms │
    │ Read      │ 11    │ 45%   │ 0ms    │
    │ TodoWrite │ 6     │ 0%    │ 0ms    │
    │ Edit      │ 5     │ 0%    │ 0ms    │
    │ Tree      │ 1     │ 0%    │ 2ms    │
    │ Write     │ 1     │ 0%    │ 0ms    │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────────┬─────────┬────────────┬─────────┬──────╮
    │ Model                          │ Prompt  │ Completion │ Total   │ Cost │
    ├────────────────────────────────┼─────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/deepseek-v4-flash │ 2230184 │ 10114      │ 2240298 │ -    │
    ╰────────────────────────────────┴─────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ standard │ 1        │
    ╰───────────┴──────────┴──────────╯
    
    ⚠️ 7 log(s)
    • Read:
      NOT_FOUND: /home/runner/work/docs/docs/channels.md
      
    • Read:
      NOT_FOUND: /home/runner/work/docs/docs/telemetry.md
      
    • Read:
      path '/home/runner/work/docs/channels.md' is outside configured sandbox directories
      
    • Read:
      path '/home/runner/work/docs/telemetry.md' is outside configured sandbox directories
      
    • Read:
      path '/home/runner/work/docs/orchestrator-setup.md' is outside configured sandbox directories
      
    • Bash:
      exit status 128: fatal: couldn't find remote ref fix/issue-414
      
    • Bash:
      exit status 1: $ prettier --check .
      Checking formatting...
      … (truncated)
      

    Triggered by edenreich · Infer Action

  6. moved this from Todo to In progress in 2026on Jul 16, 2026
  7. moved this from In progress to QA in 2026on Jul 16, 2026
  8. moved this from QA to Done in 2026on Jul 16, 2026
  9. inference-gateway-releaser commented on Jul 18, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.2 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions