You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0f7ebfa
Browse filesBrowse the repository at this point in the historyBrowse files
[bug fix] Export atenet-egress traces and metrics with service.name=atenet-egress (agent-substrate#3417)
`atenet-egress` runs `cmd/atenet router --mode=egress`, which previously
initialized OpenTelemetry with the hardcoded service name
`"atenet-router"`.
- Set OTel `service.name` in `RouterServer.Run` based on `--mode`
(`"atenet-egress"` for egress, `"atenet-router"` for ingress) and pass
the meter to `extproc.NewRouteDurationHistogram`.
- Remove the unused trace span in `handleStatusz`.
- Include `atenet-egress` in `ate-setup`'s `otelOverrideDeployments` so
`--otlp-endpoint` restarts it too.
- Update the metrics registry/docs and E2E metrics test to verify
`atenet-egress` telemetry is exported under `atenet-egress` and not
`atenet-router`.
Fixesagent-substrate#3308
<!-- e.g. "AI-assisted, I reviewed and tested it." No AI co-author
trailers. -->
AI use:
<!-- Breaking change? Describe what users must do on upgrade and ask for
the `breaking-change` label. -->
- [ ] Tests pass
- [ ] Docs updated
Signed-off-by: Bo-Cheng Chu <[email protected]>
0 commit comments