Part of https://github.com/agentgateway/agentgateway/issues/1078
* Deprecate `config.logging` and `config.tracing` which has been
superseded by frontendPolicies
* Remove reading of those, instead convert to frontendPolicies in local
config processing
* Support path in tracing
* Move MCP to the unified tracing config (for frontendPolicies support)
* Add support to add headers on the backend request
Pulls in part of https://github.com/agentgateway/agentgateway/pull/765/
(the MCP part only; that PR has more)
Small quality-of-life improvement for editing example configs by
renaming `schema/local.json` to `schema/config.json`.
---
The YAML files have been formatted using a formatter that follows
Go/Kubernetes YAML indentation style. I can remove this formatting if
you prefer the change to be as minimal as possible.
* add tracing sampling
and remove a minor typo.
* Update config.yaml
* Update examples/ratelimiting/config.yaml
* Update examples/telemetry/config.yaml
---------
Co-authored-by: John Howard <john.howard@solo.io>
* tracing: add example and additional attributes
Basically you can add static tags or lookup from JWT. In the future
we will probably allow more complex lookups.
This uses globals which is gross, but the core uses globals too so its
fitting the pattern
* add metrics
* optional tags
---------
Co-authored-by: Eitan Yarmush <eitan.yarmush@solo.io>