A recent update broke the documented autotime-related properties that live under "management.metrics.dgs-graphql.autotime", since it renamed the property on the DgsGraphQLMetricsProperties class from "autoTime" to "autoTimeProperties". Fix the naming to restore the old config prefix, and add a test case that covers it.
Additionally, move the AutoTimer / PropertiesAutoTimer out of DgsGraphQLMetricsProperties, and make it a dependency of DgsGraphQLMetricsInstrumentation and the other classes that depend on it.
Bug was introduced in 21e625a; this PR fixes #1249.
A recent update broke the documented autotime-related properties that live under "management.metrics.dgs-graphql.autotime", since it renamed the property on the DgsGraphQLMetricsProperties class from "autoTime" to "autoTimeProperties". Fix the naming to restore the old config prefix, and add a test case that covers it.
Additionally, move the AutoTimer / PropertiesAutoTimer out of DgsGraphQLMetricsProperties, and make it a dependency of DgsGraphQLMetricsInstrumentation and the other classes that depend on it.
Bug was introduced in 21e625a; this PR fixes #1249.