We are starting to roll out Apollo Router v2.x. We followed the migration guide from Release v2.0.0 · apollographql/router · GitHub and we ran the migration script for the router.yaml
and the script did not pick up anything (besides removing comments).
We noticed that running Router, fails due to a exporters.metrics.common.attributes
we have in place for v1.x that exports custom metrics for our observability.
The error is ` Failed to read configuration: configuration had errors:
- at line 120…Additional properties are not allowed (‘attributes’ was unexpected)`
Our Router Configuration has the following:
How would be able to update the router configuration to achieve the same?
P.S.: We read this section Upgrading from Versions 1.x - Apollo GraphQL Docs but unclear.