Blank white background with no objects or features visible.

TrueFoundryはSeldon AIの買収を発表し、エンタープライズAI向けコントロールプレーンを拡張します。プレスリリース全文はこちら→

TrueFoundry AI GatewayとLast9の統合

Published: July 4, 2026

As generative AI moves into critical user journeys, search, support, decision support, automation, the tolerance for “best-effort” reliability disappears. Platform and SRE teams now need the same level of observability for LLM traffic that they already expect from core microservices:

  • What is the end-to-end latency for each request path?
  • Which models, tenants, or regions are driving error budgets?
  • How do we correlate LLM behavior with the rest of the stack?

The integration between TrueFoundry AI Gateway and Last9 addresses exactly this problem. By exporting OpenTelemetry (OTEL) traces from the Gateway into Last9, teams gain deep, cost-efficient observability into all LLM traffic, without rewriting applications or scattering SDKs across services.

This article explains:

  • What Last9 and TrueFoundry AI Gateway provide
  • How the integration works at an architectural level
  • A practical, step-by-step view of the setup
  • The concrete benefits for SRE, platform, and AI teams

Last9: Observability Designed for High-Cardinality Systems

Last9 is a modern observability platform focused on high-performance telemetry management across logs, metrics, and traces. It is designed specifically for environments where cardinality and scale are non-negotiable

Key capabilities relevant to LLM workloads include:

  • High-cardinality handling: Last9 can ingest and query telemetry tagged with rich dimensions such as user, tenant, route, provider, model, and prompt version, without prohibitive performance or cost penalties.
  • Unified telemetry: Logs, metrics, and traces live in a single platform, enabling teams to move seamlessly from an SLO breach or latency spike to the exact trace and span that caused it.
  • OpenTelemetry-native design: Last9 is built around OTEL, making it straightforward to integrate any OTEL-speaking component.

This makes Last9 a natural fit for enterprises that are standardizing on OTEL across their infrastructure and want LLM observability to plug into that same strategy.

TrueFoundry AI Gateway: Unified Control Plane for LLM Traffic

TrueFoundry AI Gateway acts as a proxy layer between applications and LLM providers or MCP servers. It provides a unified, OpenAI-compatible interface to hundreds of models while centralizing governance, security, routing, and observability.

Core capabilities include:

  • Unified API access across 250+ models and providers
  • Low-latency routing and sophisticated load balancing
  • Enterprise security: RBAC, audit logging, quota and cost controls
  • Native observability with request/response logging, metrics, and traces

Crucially, AI Gateway can export OTEL traces to external systems, so your LLM telemetry becomes part of the same observability fabric as the rest of your infrastructure.

Key Metrics for Evaluating Gateway

Criteria What should you evaluate ? Priority TrueFoundry
Latency Adds <10ms p95 overhead for time-to-first-token? Must Have Supported
Data Residency Keeps logs within your region (EU/US)? Depends on use case Supported
Latency-Based Routing Automatically reroutes based on real-time latency/failures? Must Have Supported
Key Rotation & Revocation Rotate or revoke keys without downtime? Must Have Supported
Key Rotation & Revocation Rotate or revoke keys without downtime? Must Have Supported
Key Rotation & Revocation Rotate or revoke keys without downtime? Must Have Supported
Key Rotation & Revocation Rotate or revoke keys without downtime? Must Have Supported
Key Rotation & Revocation Rotate or revoke keys without downtime? Must Have Supported
Evaluating an AI Gateway?
A practical guide used by platform & infra teams

Integration Overview: How TrueFoundry and Last9 Work Together

At a high level, the integration is straightforward:

  1. Applications send all LLM traffic to TrueFoundry AI Gateway instead of directly to model providers.
  2. AI Gateway routes the request to the configured model (OpenAI, Claude, Gemini, self-hosted, etc.), applying routing, rate limits, and guardrails as needed.
  3. For each request, AI Gateway emits OpenTelemetry traces that capture spans for gateway handling, outbound model calls, MCP operations, and more.
  4. These OTEL traces are exported over HTTP to Last9’s OTLP endpoint.
  5. Inside Last9, traces are visualized in the Traces UI, with duration heatmaps, detailed trace lists, and span-level data for the tfy-llm-gateway service.

There are no code changes to application logic. Once the Gateway’s OTEL exporter is configured, every LLM request automatically becomes observable in Last9.

Prerequisites

To enable the integration, you’ll need:

  1. TrueFoundry account with AI Gateway configured and at least one model provider set up. You can follow the Gateway Quick Start Guide in the TrueFoundry docs.
  2. Last9 account with access to the Last9 dashboard.

With these in place, the rest of the configuration happens entirely through the respective UIs.

Step-by-Step Integration Guide

1. Retrieve the Last9 Authorization Header

From the Last9 dashboard:

  1. Log in to Last9.
  2. Navigate to Integrations in the left sidebar.
  3. Click Connect on the OpenTelemetry integration card.
  4. In the integration guide, locate “Authentication with Authorization Header.”
  5. Copy the provided Auth Header value, which is already formatted, for example:
  6. Basic dHJ1ZWZvdW5kcnk6...

This header will be passed directly from TrueFoundry to Last9 for OTEL authentication.

2. Configure OTEL Export in TrueFoundry AI Gateway

In the TrueFoundry console:

  1. Go to AI Gateway → Controls → OTEL Config.
  2. Enable the Otel Traces Exporter Configuration toggle.
  3. Select the HTTP Configuration tab.

3. Set the Last9 OTLP Endpoint

Under HTTP configuration, provide the following values:

  • Traces endpoint
  • https://otlp.last9.io/v1/traces
  • Encoding
  • Proto

This is Last9’s OTLP ingestion endpoint for traces.

4. Add the Required Authorization Header

In the same configuration screen, click “+ Add Headers” and add: Paste the Auth Header exactly as copied from the Last9 UI (for example, Basic dHJ1ZWZvdW5kcnk6...). No additional formatting is required.

5. Save the Configuration

Click Save to apply the OTEL export settings. From this point onward, all LLM traces from the TrueFoundry AI Gateway will be exported to Last9.

6. View LLM Traces in Last9

Once LLM traffic flows through the Gateway, open the Last9 dashboard:

  1. Navigate to the Traces section.
  2. Filter by service name:
  3. tfy-llm-gateway
  4. Explore:
    • Duration heatmap – visualize latency trends and outliers over time.
    • Trace details – see individual traces with operation names, durations, and status codes.
    • Span information – inspect spans for HTTP calls, MCP operations, and underlying LLM requests.

This gives you an end-to-end view of how the Gateway and downstream providers behave under real production conditions.

Advanced Configuration: Enriching Traces with Resource Attributes

TrueFoundry’s OTEL configuration supports Additional Resource Attributes, enabling you to attach custom metadata to every exported trace. This is particularly powerful when combined with Last9’s high-cardinality capabilities.

Typical attributes you may want to add include:

  • env=prod, env=staging
  • region=us-east-1, region=eu-west-1
  • team=platform, team=search
  • tenant_id=enterprise-customer-a

Last9では、これらの属性を以下の目的で使用できます。

  • リージョンや環境を横断してレイテンシーやエラー率を比較する
  • 特定のテナントや製品の特定の領域に影響を与えるインシデントを特定する
  • テレメトリーを重複させることなく、チームや事業部門ごとにダッシュボードを構築する

事前に属性戦略を計画することで、より豊富なクエリと迅速な根本原因分析が可能になります。

この統合がチームにもたらすもの

SREおよびプラットフォームエンジニアリング向け

  • LLMトラフィックに対する本番環境レベルの可視性:各イベントの完全なトレースコンテキストとともに、レイテンシーの急増、エラーホットスポット、飽和状態をリアルタイムで特定します。
  • 迅速なインシデント対応:SLOの障害から、その原因となっている正確なトレースとスパン(アップストリームサービス、特定のモデルプロバイダー、設定ミスのあるルートなど)を特定します。
  • 一貫したツール:LLMの可観測性を、他のマイクロサービスで使用しているのと同じOTELベースのワークフローとダッシュボード内に維持します。

AIおよびアプリケーションチーム向け

  • モデルとプロンプトの安全な実験:TrueFoundryを介して新しいモデルバージョン、ルーティングルール、またはプロンプト戦略を展開し、その影響をLast9のトレースとヒートマップで直接観察します。
  • パフォーマンスとコストの認識:遅いまたは失敗したインタラクションを特定のルート、テナント、またはモデルと関連付け、それらの洞察をGatewayのルーティングおよびキャッシュポリシーにフィードバックします。
  • 責務のより明確な分離:開発者はアプリケーションロジックとエージェントの動作に集中し、GatewayとLast9が共同でルーティング、ガバナンス、可観測性を処理します。

The fastest way to build, govern and scale your AI

Sign Up
Table of Contents

One Gateway for Every LLM, Agent and MCP Server

Book a 30-min with our AI expert

Book a Demo

The fastest way to build, govern and scale your AI

Book Demo
Summarize with
ChatGPT logo by OpenAI
Perplexity AI logo
Blurry red snowflake on white background, symmetrical frosty design with soft edges and abstract shape.

Discover More

No items found.
OpenRouter vs AI Gateway
July 4, 2026
|
5 min read

OpenRouter 対 AIゲートウェイ:どちらがあなたに最適ですか?

comparison
July 4, 2026
|
5 min read

プロンプトエンジニアリング:LLMとの対話方法を学ぶ

Thought Leadership
LLMs & GenAI
July 4, 2026
|
5 min read

True ML Talks #12 - Llama-Index共同創設者

True ML Talks
July 4, 2026
|
5 min read

AIワークロードがクラウド料金を膨らませていませんか?

Thought Leadership
No items found.

Recent Blogs

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.
Take a quick product tour
Start Product Tour
Product Tour