live wire
▸JAVA · Quarkiverse tests AI incident analysis against 19 scenarios using traces, logs and metrics (Nov. 17)Quarkus Blog▸SECURITY · Quarkus advises rebuilding JVM containers on patched UBI Java images for CVE-2026-114938 (Nov. 20)Quarkus Blog▸PLATFORM · Red Hat and CODESYS outline virtual PLC deployment on Red Hat Device EdgeRed Hat Blog▸PLATFORM · Red Hat and EDB test cross-site recovery for Ansible Automation Platform 2.6Red Hat Blog▸AI · Red Hat shows how IdeaBot uses MLflow to trace agent calls without double-counting tokensRed Hat Emerging Technologies▸SECURITY · AI Inference 3.5.4 gets CUDA security update in RHSA-2026:103421Red Hat Product Errata▸SECURITY · Helm 3.20.2.4 fixes five CVEs for OpenShift 4.19 developer toolsRed Hat Product Errata▸SECURITY · AI Inference Server 3.2.2 CUDA update lists eight CVEsRed Hat Product Errata▸AI · Red Hat and ZenML show how to benchmark embedding models for RAG on OpenShift AIRed Hat Blog▸SECURITY · Red Hat tags OpenShift Jenkins 4.19 update RHSA-2026:103321 as CriticalRed Hat Product Errata▸AI · vLLM-GR adds catalog-constrained beam search for generative recommendationvLLM Blog▸SECURITY · Red Hat updates the OpenShift Service Mesh Proxy V2 image for Istio 1.24Red Hat Product Errata▸SUPPLY CHAIN · Red Hat shows how a Pi-hole rebuild on a minimal base preserves RPM inventory for scanningRed Hat Developer▸JAVA · JBoss EAP 8.2 Beta adds early Java 25 support and previews automated provisioningRed Hat Developer▸JAVA · Quarkiverse tests AI incident analysis against 19 scenarios using traces, logs and metrics (Nov. 17)Quarkus Blog▸SECURITY · Quarkus advises rebuilding JVM containers on patched UBI Java images for CVE-2026-114938 (Nov. 20)Quarkus Blog▸PLATFORM · Red Hat and CODESYS outline virtual PLC deployment on Red Hat Device EdgeRed Hat Blog▸PLATFORM · Red Hat and EDB test cross-site recovery for Ansible Automation Platform 2.6Red Hat Blog▸AI · Red Hat shows how IdeaBot uses MLflow to trace agent calls without double-counting tokensRed Hat Emerging Technologies▸SECURITY · AI Inference 3.5.4 gets CUDA security update in RHSA-2026:103421Red Hat Product Errata▸SECURITY · Helm 3.20.2.4 fixes five CVEs for OpenShift 4.19 developer toolsRed Hat Product Errata▸SECURITY · AI Inference Server 3.2.2 CUDA update lists eight CVEsRed Hat Product Errata▸AI · Red Hat and ZenML show how to benchmark embedding models for RAG on OpenShift AIRed Hat Blog▸SECURITY · Red Hat tags OpenShift Jenkins 4.19 update RHSA-2026:103321 as CriticalRed Hat Product Errata▸AI · vLLM-GR adds catalog-constrained beam search for generative recommendationvLLM Blog▸SECURITY · Red Hat updates the OpenShift Service Mesh Proxy V2 image for Istio 1.24Red Hat Product Errata▸SUPPLY CHAIN · Red Hat shows how a Pi-hole rebuild on a minimal base preserves RPM inventory for scanningRed Hat Developer▸JAVA · JBoss EAP 8.2 Beta adds early Java 25 support and previews automated provisioningRed Hat Developer
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.