-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Upgrade to Micrometer 1.0.6 #13819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Micrometer 1.0.6 #13819
Conversation
Thanks, Jon. I guess it’s too late now, but the new duration properties would have been more consistent with the rest of Boot if they were a |
@jkschneider do I understand that you've replicated Spring Boot's |
@snicoll Looking at the code, it's for the Influx durations which are different from the Spring Boot ones. |
Thanks Johnny! |
@wilkinsona In |
Thanks, @jkschneider. I'm torn on this now. The benefit of a |
How about relaxing |
Isn't that breaking the harmonization we've made for |
No, I don't think it is. In all the other places where we use
That would leave us with properties named |
Unfortunately, I don't think |
One more argument to put on the balance for this is tooling support ( Perhaps I am also expecting Spring Boot users to be more at ease with what they know in Spring Boot vs. the specificities of influx. If I am right, that should feel weird that there is a well-supported and documented format for durations in general but this one particular property behaves differently. |
I think the key thing here is that this isn't a Given that we have no control over the format of an InfluxDB duration, and there's no guarantee that it won't diverge further from a |
Thanks for the feedback. I agree this is the proper course of action. |
* pr/13819: Polish "Upgrade to Micrometer 1.0.6" Upgrade to Micrometer 1.0.6
Resolves #13746.
A couple notes:
Authorization key access has shifted to be lazily evaluated on each publish internally in push-based registries that require them. The purpose of this was to allow users to rotate keys at runtime.
This PR contains two commits, the second of which adds 3 new properties to the configuration of InfluxDB. While I'd typically reserve additions like this for a minor release, I think that these properties were an "error of omission" earlier. We've gotten feedback that retention policy is a critical thing to configure on any production Influx database. If you decide not to allow this in 2.0.4, please cherry pick to the master branch or I can open a separate PR.