live wire
▸PLATFORM · IBM targets Dec. 4 for four zCX OpenShift add-ons on z/OS, including Quay and Platform PlusIBM Documentation▸SECURITY · Red Hat updates Cryostat 4.3.0 container images on RHEL 9 in RHSA-2026:105018Red Hat Product Errata▸SECURITY · Red Hat releases Quay 3.16.8 container images in Critical advisory RHSA-2026:108012Red Hat Product Errata▸PLATFORM · OpenShift Migration Advisor v0.34.0 exposes RDM disk mappings and storage array identityOpenShift Migration Advisor release notes▸CORRECTION · Apache Camel 4.24.0 fixes 53 published vulnerabilities, not 52 as stated in wire item 1419Apache Camel release notes▸PLATFORM · Red Hat shows how to forecast VM capacity and assess memory overcommit on OpenShift VirtualizationRed Hat Developer▸PLATFORM · Red Hat Satellite 6.20 enters limited availability with Podman-based deployment on RHEL 10Red Hat Blog▸PLATFORM · Red Hat compares SELinux enforcement and application allowlisting on paired RHEL 9.8 hostsRed Hat Developer▸PLATFORM · Red Hat shows how to deploy a sealed RHEL image on EC2 with custom Secure Boot keysRed Hat Developer▸JAVA · Quarkus JMS adds typed destinations, annotation-driven listeners and XA transactions for Quarkus 4 (Dec. 1)Quarkus Blog▸SECURITY · OpenShift 4.14.79 ships updated container images under RHSA-2026:104058Red Hat Product Errata▸SECURITY · RHSA-2026:103513: Red Hat releases OpenShift 4.12.104 with security and bug fixesRed Hat Product Errata▸SECURITY · RHSA-2026:103811: Red Hat ships an Important-rated OpenShift 4.16.76 security updateRed Hat Product Errata▸SECURITY · RHSA-2026:107608: RHEL 8 kernel security updateRed Hat Product Errata▸PLATFORM · IBM targets Dec. 4 for four zCX OpenShift add-ons on z/OS, including Quay and Platform PlusIBM Documentation▸SECURITY · Red Hat updates Cryostat 4.3.0 container images on RHEL 9 in RHSA-2026:105018Red Hat Product Errata▸SECURITY · Red Hat releases Quay 3.16.8 container images in Critical advisory RHSA-2026:108012Red Hat Product Errata▸PLATFORM · OpenShift Migration Advisor v0.34.0 exposes RDM disk mappings and storage array identityOpenShift Migration Advisor release notes▸CORRECTION · Apache Camel 4.24.0 fixes 53 published vulnerabilities, not 52 as stated in wire item 1419Apache Camel release notes▸PLATFORM · Red Hat shows how to forecast VM capacity and assess memory overcommit on OpenShift VirtualizationRed Hat Developer▸PLATFORM · Red Hat Satellite 6.20 enters limited availability with Podman-based deployment on RHEL 10Red Hat Blog▸PLATFORM · Red Hat compares SELinux enforcement and application allowlisting on paired RHEL 9.8 hostsRed Hat Developer▸PLATFORM · Red Hat shows how to deploy a sealed RHEL image on EC2 with custom Secure Boot keysRed Hat Developer▸JAVA · Quarkus JMS adds typed destinations, annotation-driven listeners and XA transactions for Quarkus 4 (Dec. 1)Quarkus Blog▸SECURITY · OpenShift 4.14.79 ships updated container images under RHSA-2026:104058Red Hat Product Errata▸SECURITY · RHSA-2026:103513: Red Hat releases OpenShift 4.12.104 with security and bug fixesRed Hat Product Errata▸SECURITY · RHSA-2026:103811: Red Hat ships an Important-rated OpenShift 4.16.76 security updateRed Hat Product Errata▸SECURITY · RHSA-2026:107608: RHEL 8 kernel security updateRed Hat Product Errata
upstreambeat.ai
analysisAI

Red Hat traces IdeaBot’s agent workflows without counting model tokens twice

The internal assistant keeps canonical usage on provider-call spans, while retaining wrapper spans for diagnostics and grouping turns by session.

By The News Desk· Nov 24, 2026the quick take — two AI hosts go live when you do

Red Hat’s Emerging Technologies team described on Nov. 24 how it instrumented IdeaBot, an internal assistant that turns rough ideas into structured product requirements. The key design decision was not where to display token totals, but where to record them: only the span for the actual model-provider call contributes canonical token usage to MLflow.

One provider call, one usage record

A trace starts at the inbound HTTP request and follows a prompt-response turn through the agent loop, the AI client, and individual model and tool calls. Those nested spans help explain whether a turn was slow because of model streaming or a tool invocation. But several wrappers can describe the same model call. If every wrapper contributes its token numbers to a rollup, one call can appear to consume several calls’ worth of tokens.

IdeaBot keeps the canonical mlflow.chat.tokenUsage record on the provider-call span. Its MLflow export also strips generic input and output token attributes from wrapper spans so the ingestion server cannot reconstruct duplicate usage records. The wrappers retain those attributes for Jaeger and other OpenTelemetry consumers. A turn with four real model calls still counts all four; four wrappers around one call do not multiply the total.

Keep a session separate from its traces

IdeaBot uses one trace per turn and tags spans with a stable session identifier so engineers can follow a conversation across turns. Provider and agent labels let them see where a call ran and which part of the workflow made it. Pricing lives in configuration rather than the agent loop, with separate rates for input, output, cache reads, and cache creation. Red Hat treats the resulting cost as an operational estimate, not a substitute for the provider invoice. Missing cache fields stay missing rather than being recorded as zero.

What to test in your own stack

Run a turn with one provider call wrapped by several spans, then another with multiple genuine provider calls. Compare each exported total against the provider-reported usage. If your provider reports prompt caching, check cold and warm requests separately so cache writes and reads do not disappear into the ordinary input count. The Red Hat write-up documents an internal implementation, not a supported product feature or a benchmark of MLflow against other tracing systems.

Filed by The News Desk. Corrections: desk@upstreambeat.ai · Our standards →

comments · 0

    Comments are moderated before they appear. Your email is used once to confirm it is you — never shown, never sold. Corrections and questions get an answer from the desk when we have one.