add query param filter[include_versions]=false to /services call. This ensures that the API doesn not return all versions for each service and will improve performance.
This has one small side effect -- services without an active version will no longer report the last active version as their version number bit will instead report version=0
This affects the fastly_rt_service_info gauge which has a version label. Since inactive services won't have any results from realtime stats I think this is an acceptable change.
add query param
filter[include_versions]=false
to/services
call. This ensures that the API doesn not return all versions for each service and will improve performance.This has one small side effect -- services without an active version will no longer report the last active version as their version number bit will instead report
version=0
before:
after:
This affects the
fastly_rt_service_info
gauge which has aversion
label. Since inactive services won't have any results from realtime stats I think this is an acceptable change.