Skip to content

Conversation

@missBerg
Copy link
Owner

🤖 Auto-generated Documentation

This PR contains automatically generated guide documentation based on code changes from envoyproxy/ai-gateway.

📋 Documentation Details

  • Type: GUIDE
  • Priority: medium
  • Location: site/docs/guides/main-guide.md
  • Source Change: 58a130b

🔍 Analysis Summary

Reasoning: New feature detected that would benefit from user guide

Confidence: 9/10

📊 Source Change Details

Commit: feat(metrics): support otel and console metric export (envoyproxy#1204)

Description

This extends otel ENV config to metrics, when enabled exports instead of
a prometheus listener. This allows metrics in otel native systems like
elastic stack, otel tui and otherwise, without a prometheus pump. This
also allows you to do ad-hoc configuration by using console config.

Here's an example of standalone using otel-tui
https://github.com/ymtdzzz/otel-tui:
tui-metrics
tui-trace

Updated cmd/aigw examples:

  • Add otel-tui service to show native otel w/o prometheus
  • Use profile-based env file selection
    (.env.otel.${COMPOSE_PROFILES:-console})
  • Set console as default for immediate debugging without external
    dependencies

Documentation:

  • Document separate OTLP endpoints for traces/metrics and exporter types

Phoenix users: Set OTEL_METRICS_EXPORTER=none as Phoenix only supports
traces

Fixes envoyproxy#1100


Signed-off-by: Adrian Cole adrian@tetrate.io
Files Modified: cmd/extproc/mainlib/main.go, internal/internalapi/internalapi.go, internal/metrics/metrics.go, internal/tracing/tracing.go
Author: Adrian Cole
Date: 2025-09-17T03:04:05Z

⚠️ Review Required

This documentation was automatically generated using AI and Continue CLI. Please review for:

  • Technical accuracy
  • Completeness
  • Consistency with existing docs
  • Proper formatting and links

Feel free to edit this documentation directly in this PR before merging.


Generated by Documentation Writer Action

Generated for change 58a130b from envoyproxy/ai-gateway
Type: guide
Priority: medium

New feature detected that would benefit from user guide
@missBerg missBerg closed this Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

otel native metrics export

2 participants