📝 Add guide documentation (58a130b9) #2
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Auto-generated Documentation
This PR contains automatically generated guide documentation based on code changes from envoyproxy/ai-gateway.
📋 Documentation Details
site/docs/guides/main-guide.md🔍 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
consoleconfig.Here's an example of standalone using otel-tui


https://github.com/ymtdzzz/otel-tui:
Updated cmd/aigw examples:
(.env.otel.${COMPOSE_PROFILES:-console})
dependencies
Documentation:
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
This documentation was automatically generated using AI and Continue CLI. Please review for:
Feel free to edit this documentation directly in this PR before merging.
Generated by Documentation Writer Action