wu-sheng opened a new pull request, #13772:
URL: https://github.com/apache/skywalking/pull/13772

   ### Support Envoy AI Gateway observability (SWIP-10)
   
   - [ ] If this is non-trivial feature, paste the links/URLs to the design doc.
     - SWIP-10: `docs/en/swip/SWIP-10/SWIP.md`
   - [ ] Update the documentation to include this new feature.
     - `docs/en/setup/backend/backend-envoy-ai-gateway-monitoring.md`
   - [ ] Tests(including UT, IT, E2E) are added to verify the new feature.
     - `test/e2e-v2/cases/envoy-ai-gateway/` (docker-compose with 
ai-gateway-cli + Ollama)
   - [ ] Update the [`CHANGES` 
log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
   
   - [ ] If this pull request closes/resolves/fixes an existing issue, replace 
the issue number. Closes #xxx.
   
   ## Summary
   
   Add Envoy AI Gateway as a new monitored layer (`ENVOY_AI_GATEWAY`) in 
SkyWalking, receiving
   GenAI metrics and access logs via OTLP push from the AI Gateway.
   
   **Changes:**
   - New layer `ENVOY_AI_GATEWAY(46, true)` in `Layer.java`
   - MAL rules: 2 rule files (service + instance) with 38 metrics total — 
aggregates, per-provider
     and per-model breakdowns including token usage, latency, TTFT, TPOT
   - LAL rules: access log sampling (errors, upstream failures, high token cost)
   - UI dashboards: root (with doc link), service 
(Overview/Providers/Models/Log/Instances tabs),
     instance (Overview/Providers/Models/Log tabs)
   - OTel receiver fixes:
     - Convert data point attribute dots to underscores (consistent with 
resource attributes)
     - Change `LABEL_MAPPINGS` to fallback-only — `service.name` preserved as 
`service_name` tag
     - Remove unused `service.name → job_name` mapping (MAL checker: 1268/1268 
rules pass)
     - OTLP log handler: prefer `service.instance.id` (OTel spec) with fallback 
to `service.instance`
   - `UITemplateInitializer`: register `ENVOY_AI_GATEWAY` template folder
   - `SampleFamily`: add `toString()` and `debugDump()` for MAL debugging
   - Documentation: setup guide, OTel receiver label conversion, LAL OTLP 
mapping, marketplace GenAI
   - E2e test: docker-compose with `ai-gateway-cli` + Ollama (qwen2.5:0.5b)
   
   ## Screenshots
   
   ### Root Dashboard
   ![ai-1](placeholder — upload ai-1)
   
   ### Service Dashboard - Overview
   ![ai-2](placeholder — upload ai-2)
   
   ### Service Dashboard - Providers/Models
   ![ai-3](placeholder — upload ai-3)
   
   ### Instance Dashboard
   ![ai-4](placeholder — upload ai-4)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to