apollographql / router

A configurable, high-performance routing runtime for Apollo Federation 🚀
https://www.apollographql.com/docs/router/
Other
804 stars 271 forks source link

Check which version of the supergraph router is running #2515

Open dandersonhall opened 1 year ago

dandersonhall commented 1 year ago

At the moment, there is no way to check which version of the supergraph router is running when it is using Managed Federation. If the update from Uplink fails there is potential for some router pods to be running an older version of the supergraph while others run the latest. There is no way of checking which pods are running which version to determine if a pod needs to be recycled or not.

Some ideas on how this could be done include:

abernix commented 1 year ago

Thanks for opening this! Also, potentially emitting this as an attribute on OpenTelemetry spans!