Skip to content

feat: enable use_default_attributes for ai-statistics plugin in config template#230

Closed
johnlanni wants to merge 1 commit into
mainfrom
feat/enable-ai-statistics-default-attributes
Closed

feat: enable use_default_attributes for ai-statistics plugin in config template#230
johnlanni wants to merge 1 commit into
mainfrom
feat/enable-ai-statistics-default-attributes

Conversation

@johnlanni
Copy link
Copy Markdown
Contributor

Cherry-pick commit 0943c0d to enable use_default_attributes configuration for AI statistics plugin in config template.

…g template

Update ai-statistics WasmPlugin configuration in AI Gateway config template to use use_default_attributes by default.

Changes:
- Set defaultConfigDisable to false to enable plugin globally
- Add defaultConfig with use_default_attributes: true
- Remove matchRules completely - plugin now applies globally
- Remove generated matchRules loop for all ingresses

This makes AI Gateway easier to configure out-of-the-box with sensible defaults for LLM observability that apply to all AI routes automatically.
@johnlanni johnlanni requested a review from CH3CHO as a code owner February 1, 2026 08:47
@lingma-agents
Copy link
Copy Markdown

lingma-agents Bot commented Feb 1, 2026

🔍 代码审查进行中

⏳ 正在审查

⏰️ 剩余时间:约需数分钟

🔄 分支流向: feat/enable-ai-statistics-default-attributesmain

📦 提交: 审查当前PR从57474653ca83fe的提交。


📒 文件清单 (1 个文件)
📝 变更: 1 个文件

📝 变更文件:

  • all-in-one/scripts/config-template/ai-gateway.sh

@johnlanni johnlanni closed this Feb 1, 2026
@lingma-agents
Copy link
Copy Markdown

lingma-agents Bot commented Feb 1, 2026

CodeReview流程已终止

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.

1 participant