Skip to content

Upgrade google-cloud-monitoring to 2.x #2249

Closed

Description

@loicmathieu

Upgrade google-cloud-monitoring dependency to the 2.x version line.

I have a cloud library where I use the Google Cloud library BOM and starting with the 9.x version of the library BOM it includes a 2.x version of the google-cloud-monitoring.
This causes the dependency being upgraded in a version not compatible with micrometer-registry-stackdriver.

Activity

  1. added
    registry: stackdriver
    enhancement
    on Sep 3, 2020
  2. shakuzen commented on Sep 3, 2020

    @shakuzen
    Member

    We'll need to consider our options here - e.g. if we can support both in one module or should make a new module for the 2.x SDK.

  3. added this to the 1.x milestone on Sep 3, 2020
  4. pebo commented on Jun 22, 2021

    @pebo

    Are the google-cloud-monitoring 2.x+ versions supported by micrometer-registry-stackdriver or does it only work with the 1.x versions?

  5. shakuzen commented on Jun 22, 2021

    @shakuzen
    Member

    There were breaking changes in 2.0.0 that caused us to pin to 1.x in #2235. Interestingly, I tried upgrading locally and did not see that failure just now.
    @loicmathieu would you (or anyone else) be able to check if things work for you with the latest version of the Google Cloud library BOM and Micrometer? If so, it seems there aren't any changes required on our side.

  6. added
    waiting for feedback
    on Jun 22, 2021
  7. removed this from the 1.x milestone on Jun 23, 2021
  8. added
    dependency-upgrade
    and removed
    enhancement
    waiting for feedback
    on Jun 23, 2021
  9. added this to the 1.8.0-M1 milestone on Jun 23, 2021
  10. added
    release notes
    on Jun 23, 2021
  11. shakuzen commented on Jun 23, 2021

    @shakuzen
    Member

    As far as my testing could tell, things are working with the latest version of google-cloud-monitoring 2.x now without changes in Micrometer. I tried with google-cloud-monitoring 2.3.3 and with the libraries-bom 20.6.0 (which manages google-cloud-monitoring to 2.3.0). I have upgraded the version we compile against in main to the latest, which will be published as 1.8.0-SNAPSHOT.

    Are the google-cloud-monitoring 2.x+ versions supported by micrometer-registry-stackdriver or does it only work with the 1.x versions?

    @pebo As far as I can tell, it works with the latest 2.x version. Please let us know if you run into any issues.

    Closed by #2660

  12. added
    documentation
    on Jun 23, 2021
  13. pebo commented on Jun 23, 2021

    @pebo

    As far as my testing could tell, things are working with the latest version of google-cloud-monitoring 2.x now without changes in Micrometer. I tried with google-cloud-monitoring 2.3.3 and with the libraries-bom 20.6.0 (which manages google-cloud-monitoring to 2.3.0). I have upgraded the version we compile against in main to the latest, which will be published as 1.8.0-SNAPSHOT.

    Are the google-cloud-monitoring 2.x+ versions supported by micrometer-registry-stackdriver or does it only work with the 1.x versions?

    @pebo As far as I can tell, it works with the latest 2.x version. Please let us know if you run into any issues.

    Closed by #2660

    I tested micrometer-registry-stackdriver 1.7.0 with google-cloud-monitoring 2.3.3 without any problems 👍 The breaking changes in google-cloud-monitoring 2.x doesn't seem to affect micrometer-registry-stackdriver as far as I can tell.

  14. shakuzen commented on Jun 23, 2021

    @shakuzen
    Member

    Thank you for trying it out and reporting back to us. I've updated our documentation to add a note that the Micrometer Stackdriver registry can be used with google-cloud-monitoring versions 1.x and 2.x.

  15. loicmathieu commented on Jun 23, 2021

    @loicmathieu
    Author

    Thanks all for testing it! That's good news ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependency-upgradedocumentationregistry: stackdriverrelease notes

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions