AI Agent Observability in Practice: Monitoring Traces, Tool Calls, State, Cost, and Quality

A practical guide to agent traces, tool-call audits, state changes, prompt and model versions, RAG evidence, cost, latency, and task evaluation.

Published · 2026-04-2715 min readXBSTACK
Evidence 9 cited sources
On this page

The Key Point

AI Agent Observability isn’t just about looking at logs; it involves simultaneously tracking traces, tool call parameters, state changes, model costs, failure nodes, and human review results. Without observability, you can only guess when an agent fails; with observability, you can replay every decision path.

Who This Guide Is For

  • Engineers deploying AI Agents, LangGraph, or MCP tool systems.
  • Backend leads who need to troubleshoot tool call failures, state corruption, anomalous token costs, and declining task success rates.
  • Independent developers looking to transition agents from demos to auditable systems.

What This Guide Covers

  • Which trace fields should be recorded for each agent execution.
  • How tool call parameters, return values, errors, and retries are captured in logs.
  • How to consolidate state, cost, quality metrics, and user feedback into a single observability dashboard.
  • How to pinpoint whether post-failure issues stem from prompts, tools, permissions, network, or state problems.

Pain Points and Target Audience

In agent applications, failures are not limited to process crashes or HTTP 500 responses. A task may repeat tool calls, exhaust its configured budget, or continue after a tool error and present an unsupported result. Treat these as failure scenarios to test, not as measured incident rates or assumed production behavior.

When facing business anomalies caused by logic drift, state loss, and misused tools, monitoring CPU utilization and network I/O is simply ineffective. Without a comprehensive set of fine-grained telemetry data focused on the agent execution path, developers are left groping in the dark during troubleshooting.

This guide is intended for backend engineers designing agent application architectures, operations personnel building large-scale agent cluster monitoring and alerting systems, and technical leaders who need to rigorously evaluate AI quality and compute ROI. We will walk through the engineering implementation of an industrial-grade AI Agent observability architecture.

General Monitoring Systems Cannot See Through the Internal Logic of Multi-Step Agent Systems

Traditional APM is useful for request-level latency, resource use, and HTTP errors, but those signals alone do not explain which model call, tool invocation, authorization decision, or state transition caused an agent task to fail.

Agent systems may combine model calls, external tools, application state, retrieval, and dynamic planning. Depending on the task and orchestration design, one request may involve multiple model calls, retrieval operations, or external side effects. Request-level monitoring alone may not show which step failed or whether retrieved context affected the result.

Therefore, agent observability should extend traditional distributed tracing to the agent runtime: record model-call metadata and structured outputs, controlled tool-call parameters and result summaries, state transitions, checkpoint references, prompt/model versions, error categories, and cost. Recording private model reasoning or chain-of-thought is not a requirement for observability. Most systems need auditable inputs, outputs, tool events, policy decisions, and business evidence—not private internal reasoning.

Multidimensional Telemetry: Core Architecture of an Agent-Specific Observability System

Production-grade agent monitoring must adopt a layered telemetry architecture, separating the collection of runtime traces, step logs, tool audits, state snapshots, and cost metrics.

OpenTelemetry provides vendor-neutral APIs, SDKs, and semantic conventions for traces, metrics, and logs. Agent-specific attributes can be added to describe task IDs, tool names, policy decisions, model identifiers, and state transitions; keep these attributes documented and avoid placing sensitive payloads in span attributes.

A reference observability architecture can be divided into three layers:

  1. Runtime instrumentation: framework callbacks, middleware, and tool wrappers emit trace/span events, model-call metadata, tool outcomes, policy decisions, and state-transition identifiers.
  2. Collection and processing: an OpenTelemetry Collector or equivalent pipeline applies schema validation, redaction, filtering, sampling, batching, and export retries. De-identification must be designed and tested; a Collector does not automatically anonymize arbitrary payloads.
  3. Storage and analysis: traces, metrics, and logs go to systems selected for retention, query patterns, access control, and cost. For example, teams may combine a trace backend with Prometheus-compatible metrics and a log store. Visualization should show auditable execution events and evidence, not private model chain-of-thought.

The design goal is to make important execution events queryable while keeping telemetry overhead within an explicitly measured budget. Reconstruction time depends on trace volume, backend indexing, sampling, and the available state snapshots; do not promise millisecond reconstruction without a benchmark.

Trace ID and Step Topology: Reconstructing the Agent’s Execution Path

A trace ID correlates spans and events for an execution. Parent-child span relationships can represent nested work; the resulting trace is not necessarily a DAG, and asynchronous or fan-out work may require links or additional correlation identifiers.

A trace or request correlation identifier should be created at the system boundary and propagated through downstream services using a standard such as W3C Trace Context. For asynchronous jobs, persist the correlation context with the job so it survives queue handoffs and process restarts.

Within a Trace, each sub-action of the Agent is abstracted as a Span or Step. Each Step must record its parent ID, allowing the execution topology to be reconstructed at the data presentation layer.

Below is an example of a production-grade Step telemetry log structure:

{
  "trace_id": "tr-9081237123-abcef",
  "step_id": "step-planning-01",
  "parent_step_id": null,
  "step_name": "Task_Decomposition",
  "step_type": "planning",
  "started_at": "2026-06-25T11:49:00.102Z",
  "finished_at": "2026-06-25T11:49:00.852Z",
  "latency_ms": 750,
  "status": "success",
  "inputs": {
    "user_query": "queryMeals"
  },
  "outputs": {
    "subtasks": [
      {
        "subtask_id": "sub-01",
        "action": "query_expense_db",
        "description": "querystateMealsexpense report"
      },
      {
        "subtask_id": "sub-02",
        "action": "fetch_monthly_budget",
        "description": "fetchMealscost center"
      }
    ]
  },
  "metadata": {
    "agent_version": "v1.2.0",
    "environment": "production"
  }
}

Through this structure, we can clearly trace how the AI agent initially broke down the user’s complex query into specific subtasks. If a second subtask fails, we can immediately locate its parent node.

Tool Auditing: A Security Sentinel and Input Validation for Tool Calls

Comprehensive auditing of tool call inputs, return values, execution permissions, and network latency is fundamental to preventing Agent privilege escalation and system-wide cascading failures caused by external API timeouts.

Tools are a major boundary between an agent and external systems, but not the only one: application middleware, callbacks, browser automation, and background workers may also perform side effects. Tool calls therefore need schema validation, authorization, and audit records; model-generated arguments must never be treated as authorization.

To make tool execution auditable, instrument both the request boundary and the result boundary. Record the authorization decision and outcome without logging unrestricted secrets or customer payloads.

The following is an example of a tool call auditor implemented in Python:

import json
import logging
import time
from functools import wraps
from typing import Any, Callable

logger = logging.getLogger("agent.observability.tool")


def audit_tool_call(tool_name: str, required_permission: str):
    def decorator(func: Callable[..., Any]):
        @wraps(func)
        def wrapper(*args: Any, **kwargs: Any) -> Any:
            trace_id = str(kwargs.get("trace_id", "unknown"))
            tool_args = kwargs.get("tool_args", {})
            argument_keys = sorted(str(key) for key in tool_args) if isinstance(tool_args, dict) else []

            logger.info(json.dumps({
                "event": "tool_start",
                "trace_id": trace_id,
                "tool_name": tool_name,
                "argument_keys": argument_keys,
                "permission_policy": required_permission,
                "timestamp": time.time(),
            }))

            started = time.monotonic()
            try:
                result = func(*args, **kwargs)
                logger.info(json.dumps({
                    "event": "tool_success",
                    "trace_id": trace_id,
                    "tool_name": tool_name,
                    "result_type": type(result).__name__,
                    "latency_ms": round((time.monotonic() - started) * 1000),
                    "timestamp": time.time(),
                }))
                return result
            except Exception as exc:
                logger.error(json.dumps({
                    "event": "tool_error",
                    "trace_id": trace_id,
                    "tool_name": tool_name,
                    "error_class": type(exc).__name__,
                    "latency_ms": round((time.monotonic() - started) * 1000),
                    "timestamp": time.time(),
                }))
                raise
        return wrapper
    return decorator

This example deliberately logs argument field names and result types rather than raw values or exception messages. Add only explicitly approved, redacted fields when an operational use case requires them; an allowlist is safer than logging arbitrary tool payloads.

This interceptor design pattern ensures that the lifecycle of every tool invocation is under the monitoring system’s purview. When parameter injection attacks or API call timeouts occur, audit logs provide precise data for reconstructing the incident.

State Machine Snapshots and Checkpoint Debugging Mechanisms

Persisting selected application-state checkpoints can support resume-from-breakpoint and recovery workflows. It is not necessary or always safe to snapshot the entire state after every step; choose checkpoint boundaries based on recovery requirements, state size, sensitivity, and storage cost.

Unlike a stateless request handler, a long-running agent workflow may accumulate application state across steps. If a process fails before required state is persisted, recovery may need to restart from an earlier durable checkpoint; the exact recovery behavior depends on the orchestration framework and persistence model.

Long-running or resumable agent workflows may need a checkpoint mechanism. Persist only the application state required for recovery, such as completed task IDs, validated outputs, and the next transition. Avoid persisting secrets, unrestricted retrieved content, or private model reasoning; choose a durable store and retention policy appropriate to the workflow.

Linking checkpoint identifiers to trace IDs helps operators correlate execution events with persisted application state. A replay still requires compatible code, tool fixtures, external-data snapshots, and authorization controls; a checkpoint alone does not guarantee deterministic replay or a one-click reproduction.

Configuration Tracking: Eliminating Variable Interference from Prompts and Model Versions

Recording prompt versions and model/provider identifiers helps teams investigate behavior changes after prompt, model, or API updates. It does not by itself identify the cause; correlate the metadata with deployment versions, tool changes, datasets, and evaluation results.

When application code is unchanged but agent behavior shifts, possible causes include a provider-side model revision, a changed model alias, prompt/configuration updates, retrieval-index changes, tool behavior, or different input distributions. Record the model identifier and any provider version/fingerprint exposed by the API; do not assume a silent fine-tuning update without evidence.

For useful diagnostics, record an allowlisted set of non-sensitive metadata where available:

  • A stable hash of the prompt template (prompt_hash) and its release label (prompt_version), not the full prompt if it contains secrets or personal data.
  • The requested and returned model identifiers, provider/API version, and deployment configuration version.
  • Relevant inference parameters (for example, temperature and top_p) when they are supported and affect the task.
  • Tool schema/version identifiers and retrieval-index versions when applicable.

Do not log API keys, authorization headers, or unrestricted user payloads.

Standardized configuration tracking makes it possible to compare evaluation results across prompt and model versions. Use a fixed, versioned evaluation dataset and the same scoring rubric; metadata alone does not establish that a prompt change caused a quality shift.

Visualized Tracking of Knowledge Retrieval and Memory Trails

Continuous monitoring of RAG retrieval scores and Memory read/write fingerprints ensures that the agent does not suffer from degraded response quality due to citing outdated information or unauthorized retrieval.

Knowledge base retrieval (RAG) and memory systems (Memory) are the channels through which agents acquire external unstructured facts. When RAG retrieval returns low-scoring, irrelevant documents, the model is easily misled by this noise, leading to incorrect conclusions.

In observability infrastructure, we need to monitor:

  • Query rewriting results and cosine similarity scores of recalled chunks during the RAG retrieval phase.
  • Metadata corresponding to Chunks selected into the model context (including source document ID, document publication date, and user permission flags).
  • Memory read/write trails: analyzing which historical conversation segments (Long-term Memory) were activated and extracted into the context, and which new information was stored in the vector database.

These signals help investigators test whether a quality regression is associated with stale documents, retrieval ranking, permission filtering, or memory-selection behavior. They do not identify the cause automatically; compare the trace with source versions and a labeled evaluation set.

Cost Control: Compute Cost Breakdown by Task and Step

Compute costs can be attributed to tenants, task types, and execution steps to help detect waste from repeated planning or retries. A cost-accounting service can multiply provider-reported token counts (input, output, cached tokens where available) by the applicable model price schedule, then aggregate by task, tenant, and step. Store the model identifier, pricing effective date, currency, and cache treatment so historical estimates remain explainable; actual invoices may differ from estimates.

  • Trace-level total cost: How much a single user session costs.
  • Tenant/User-level cumulative cost: Billing by department or customer.
  • Step/Tool-level cost: Identifying which agent nodes are high-consumption to determine if they can be replaced with smaller models or optimized via caching techniques.

Fault Definition and Error Taxonomy

Establishing a standardized error taxonomy for agent systems enables automated cleaning scripts to efficiently categorize production incidents and guide developers toward targeted fixes.

In an Agent system, simply catching generic Exceptions provides no diagnostic value. We need to define an error code dictionary tailored to the behavioral characteristics of agents:

  • Intent Recognition Error: The model fails to correctly understand the user’s business objective, routing the request to the wrong business subgraph.
  • Planning Loop Deadlock: The Agent oscillates between multiple steps, exceeding the preset maximum step limit.
  • Tool Argument Deformation: Tool arguments generated by the model fail validation against strong-type schemas like Pydantic.
  • RAG Knowledge Staleness: Retrieved documents are too old, or no relevant background knowledge is found for the current query.
  • Structured Output Validation Failed: The JSON string output by the LLM is incomplete or missing required fields.

Once errors are normalized into categories, we can use ClickHouse for aggregation analysis to quickly identify whether the primary bottleneck causing a drop in system stability this week is tool argument deformation or LLM output format validation failures.

Closed-Loop Iteration Between Production Monitoring and Offline Evaluation

Automatically capturing traces marked as “negative feedback” or “user-corrected” in production and supplementing them into an offline evaluation Golden Dataset is the engineering closed-loop required for continuous Agent evolution.

The ultimate value of observability lies not just in alerting, but in driving the system’s self-optimization. If monitoring data is isolated in a log repository, it merely serves as a “ledger.”

A healthy LLMOps workflow requires that production traces manually intervened upon, generation samples marked as Dislike by users, and processes encountering severe tool errors be extracted via automated scripts. After sensitive information is masked, these real-world cases become test cases for the offline evaluation platform.

When the development team modifies prompts or adjusts workflow structures, running regression tests directly on these historically failing real-world samples ensures that new releases do not reintroduce previously known faults.

Prometheus Monitoring Dashboard and Production Metrics

Real-time metrics dashboards and immediate circuit-breaker alerts act as safety valves to prevent Agents from getting stuck in execution loops and to keep compute costs under control.

A team implementing this design could export runtime metrics to Prometheus and visualize them in Grafana. The following are example metric names and alert conditions to adapt to measured workload baselines and service-level objectives; they are not XBSTACK production measurements:

Metric nameTypeMonitoring purposeExample alert condition
agent_task_success_rateGaugeTrack completed tasks that meet business success criteriaBelow the service objective over a defined evaluation window
agent_step_execution_depthHistogramDetect unusually long execution paths or loopsAbove a task-specific step budget
agent_tool_error_rateCounter / rateTrack tool failures by tool and error classAbove the error budget for a sustained window
llm_token_cost_per_traceHistogram / summaryAttribute model cost to a task or tenantAbove the configured per-task or per-tenant budget
llm_time_to_first_token_msHistogramTrack model first-token latencyp95 above the endpoint’s latency objective

Do not copy numeric thresholds from an example table into production. Calibrate them using workload distributions, business impact, error budgets, provider pricing, and the expected behavior of each task class.

When an execution-depth or budget alert fires, the orchestrator can request cancellation, persist the task’s terminal or paused state, and route the event for review. Cancellation must be implemented by the runtime; a metric alert alone cannot forcibly stop an arbitrary model call or guarantee that a tool operation has been rolled back.

Data Privacy: Sensitive Information Masking Strategies in Agent Telemetry

Telemetry pipelines handling user data, invoices, or contracts need a documented data-minimization and protection policy. Local masking may reduce exposure, but it does not by itself establish enterprise security or regulatory compliance.

When deploying Agents in highly sensitive industries like finance, healthcare, and law, observability often comes with severe data leakage risks. If full LLM I/O and tool return values are recorded, employees’ private credentials, customer contract details, and the company’s core financial data will be exposed in plaintext on third-party Trace platforms.

One implementation option is a redaction layer before telemetry export. Depending on the data types and threat model, it may combine deterministic patterns, structured-field allowlists, and a locally hosted NER model. Test it against representative data because regex and NER systems can miss secrets or over-redact useful diagnostic evidence.

  • Apply masking to ID numbers, phone numbers, bank card numbers, and API Keys.
  • Hash or unidirectionally mask body paragraphs that may involve trade secrets.
  • Restrict the Trace system to saving only the length and structure of inputs and outputs, without storing the actual sensitive strings.

By establishing a privacy gateway in the architecture, we can balance system debugging transparency with the security of enterprise data assets.

During the cold start phase of an Agent system, prioritize full-chain Trace ID propagation and high-risk tool auditing rather than attempting a full-state snapshot all at once.

If you are just starting to build observability for an AI agent, avoid introducing full-state snapshot persistence and high-dimensional feature extraction before you have a recovery or diagnostic requirement for them. They can increase runtime overhead, storage use, and implementation complexity.

A practical cold-start roadmap is:

  1. Implement cross-component propagation of the global trace_id to ensure your LLM call logs are correlated with the application server’s HTTP logs.
  2. Write audit decorators around critical write-operation tools (e.g., writing to databases, sending emails, modifying quotas) to record input parameters in detail.
  3. Track Token consumption per session; if a single Trace exceeds a specific Token limit, trigger a circuit breaker and report an alert. These three changes cover several high-frequency troubleshooting entry points, but the share of incidents they expose depends on your architecture and historical failure distribution. Expand the telemetry set from real incident reviews instead of assuming an 80% coverage rate.

Common Pitfalls and Troubleshooting Guide

Missing trace correlation, insufficient tool-event records, and untracked prompt/model changes are common reasons why agent failures are difficult to diagnose. Their relative frequency depends on the workload and should be established from incident data rather than assumed.

1. Lack of Global Trace ID Leading to Context Disconnection

  • Common Symptoms: An interface timeout error is seen at the application layer, but searching the LLM logs reveals only scattered call fragments, making it impossible to determine the correspondence between these fragments and the timed-out request.
  • Error Text:
[ERROR] 2026-06-25 11:49:05.123 - HttpClientTimeoutException: LLM provider connection timeout after 15000ms. Context lost.
  • Solution: You must introduce a standardized OpenTelemetry Tracer and explicitly pass traceparent to the execution context during the initialization of each asynchronous task or multi-threaded processor.

2. Silent Hallucinations After Tool Call Errors

  • Common symptom: A downstream database returns an authorization error, but the Agent catches the exception without reporting it to the user. Instead, it fabricates a perfectly formatted fictional result, causing erroneous data to be accepted as fact.
  • Error message:
[WARN] 2026-06-25 11:49:06.456 - Database access rejected for user_id=9871. Agent bypassed error and completed task with mock payload.
  • Solution: Do not rely on error-keyword matching as the safety boundary. Put structured tool status, error classes, authorization decisions, and retry state into the trace, while the application control layer decides whether execution may continue. High-risk actions still need explicit tool authorization or a human gate.

3. The exporter itself can fail and erase the traces you needed for debugging

On September 18, 2026, before the upstream issue was closed, I reproduced OpenAI Agents SDK issue #4983 offline on openai-agents==0.22.3. The maintainer closed the issue as completed in #4984 on September 25, 2026. The fixture below records the historical reproduction; it does not establish that current SDK releases still contain the bug. Verify the exact release and changelog used by your deployment before applying the workaround. No model API call or real API key was involved. Two runs shared one BatchTraceProcessor: run_A had valid metadata, while run_B added a native uuid.UUID value to trace_metadata.

After forcing a flush, the processor logged:

ERROR [non-fatal] Tracing exporter failed; dropping batch of 8 items

The mock ingest endpoint received zero items. The bad run_B trace was not the only loss: the unrelated valid run_A trace disappeared with the same batch. The failure happens before the HTTP request is sent because the exporter builds one JSON payload for the batch; one non-serializable value prevents that request body from being constructed.

I then changed only one thing: the UUID was normalized to a string before entering trace_metadata. The same fixture exported 8 items, and both run_A and run_B were present. The practical application-side controls are therefore:

  • constrain custom trace metadata and custom span data to JSON-safe types;
  • explicitly serialize UUID, datetime, Decimal, Enum, and similar application types;
  • monitor exporter drop/error metrics instead of watching only the agent request path;
  • treat “agent request succeeded” and “trace was durably exported” as separate assertions;
  • keep the regression fixture to verify the behavior of the exact SDK version you deploy and confirm whether the upstream repair is present.

The complete offline fixture is in experiments/openai-agents-backend-span-exporter-json-batch-drop/. This result applies only to the tested Python Agents SDK 0.22.3 exporter path. Upstream PR #4984 merged on September 25, 2026, and is listed in the openai-agents 0.23.0 release notes (#5226) (October 1, 2026); the repair isolates unencodable values while preserving valid neighboring traces and spans. Keep this fixture as historical 0.22.3 regression evidence and verify the exact installed version before claiming the issue persists. Do not generalize it to every SDK or observability backend.

Current upstream status

The reproduction above is historical and version-scoped. The upstream issue was fixed in pull request #4984, merged on September 25, 2026. The fix is listed in the openai-agents 0.23.0 release notes dated October 1, 2026, and repairs each record before building the shared request so valid neighboring traces and spans are preserved. Check the exact installed package version and run the regression fixture before retaining a workaround; do not assume the 0.22.3 behavior remains in current releases. The SDK’s tracing documentation describes the batch processor/exporter path and sensitive-data controls.

Solution Comparison

When selecting an agent observability framework, you need to balance the ease of private deployment, support for multi-step topology tracing, and runtime overhead.

Evaluation DimensionCustom OpenTelemetry SolutionLangSmith Managed SolutionPhoenix Open Source Solution
Data boundaryYou can choose your own Collector and storage location; logs, backups, and access still need governanceEvaluate the selected managed service’s data processing, region, retention, and access controlsCan be self-hosted; whether data stays inside your network depends on deployment, model, and exporter configuration
Agent Topology RenderingRequires manual adaptation with high visualization costsReady out-of-the-box; perfectly renders tree-based reasoning topologiesAutomatically parses semantics and supports high-dimensional feature visualization
Operational CostModerate; requires maintaining storage systems like ClickHouseExtremely low; pay-as-you-go SaaS serviceHigh; requires self-built metric analysis clusters
Platform IntrusivenessVery low; uses standard SDKsHigh; deeply tied to the LangChain ecosystemLow; supports standard OpenTelemetry input

Frequently Asked Questions

Will enabling full observability Tracing significantly increase inference latency?

Not necessarily. An asynchronous exporter can reduce synchronous waiting, but serializing large payloads, redaction, network I/O, queue pressure, and high sampling rates still consume CPU, memory, and bandwidth. Measure P50/P95/P99 for no tracing, minimal-metadata tracing, and full diagnostic tracing under real concurrency instead of assuming the overhead is negligible.

How should sampling rates be configured for production systems with high concurrency and traffic?

Tiered sampling is common, but there is no universal 1%/100% rule. Increase retention for errors, retries, circuit breakers, security events, and human corrections, then calibrate normal-traffic sampling from workload volume, storage budget, incident-response needs, and retention requirements. For sensitive data, full retention can increase privacy risk.

How can I detect Prompt injection or unauthorized access during Agent execution?

Observability can record suspicious inputs, tool choices, authorization denials, and policy decisions, but keyword blacklists are not a prompt-injection defense. The actual control should live in tool authorization, least privilege, trusted/untrusted content separation, structured argument validation, sandboxing, and explicit approval for high-risk actions. Tracing should show which control fired and what decision was made.

Official references

Further Reading

Topic path / AI Agents

Continue from one agent pattern to the complete production system

The AI Agent hub organizes architecture, memory, tool use, evaluation, security, deployment and multi-agent coordination into a single learning path.

Next step: make state and recovery explicit

Full decision path →

Move from the current symptom to the next state, checkpoint, resume, or failure-recovery boundary.

Verify behavior and observabilityProduction Governance for AI Agents: Evaluation, Observability, Deployment, Cost Control, and Human-in-the-LoopProduction Governance for AI Agents: A systematic breakdown of the governance capabilities required to transition AI Agents from demos to production.Harden permissions and securityCan an AI Agent Trust Its Web Search Results? Search, Fetch, Citation Audits, and Real CostSearch results are not evidence. Compare DeepSeek Search/Fetch and OpenAI web_search, then design citation audits, safe fetching, abstention, and cost-per-verified-answer evaluation.Move toward production governanceOpenAI Agents SDK Duplicate Tool Names: Why the Later Tool WinsOpenAI Agents SDK duplicate FunctionTool names can create ambiguous dispatch. Issue
Comments & evidence

DISCUSSION

Questions, verification and corrections

Sign in to comment. Every new comment is reviewed before publication; while pending, it is visible only to you and the administrator.

Sign-in required Reviewed before public
Loading the discussion…