Skip to content
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 JMX exporter to the newest version (#2750) #2779

Merged
merged 3 commits into from
Dec 10, 2021

Conversation

cicharka
Copy link
Contributor

@cicharka cicharka commented Dec 9, 2021

  • Upgrade JMX exporter to version 0.16.1

  • Move prometheus_jmx_path from schema to defaults:

    • prometheus_jmx_path removed from schema for roles: kafka and
      jmx-exporter and moved to defaults for these roles
    • unification of that name, which is holding symlink path for Prometheus JMX exporter
      binary, used by roles: kafka, jmx-exporter, zookeeper

    Justification:
    Path of symbolic link to JMX exporter binary should not be managed by
    the user since he is not responsible for binary download and
    configuration of prometheus scrape

@cicharka cicharka force-pushed the feature/jmx_exporter branch 2 times, most recently from 9355ac6 to cc857ed Compare December 9, 2021 10:03
@cicharka cicharka force-pushed the feature/jmx_exporter branch from d0d0e52 to 1bd3987 Compare December 9, 2021 15:55
* requirements changed to use jmx_exporter ver 0.16.1
* upgrade play for jmx_exporter added
* added new component for upgrade in cli
* docs updated
* minor whitespaces removal

Signed-off-by: cicharka <[email protected]>
* prometheus_jmx_path removed from schema for roles: kafka and
  jmx-exporter and moved to defaults for these roles
* unification of name that was holding symlink path for Prometheus JMX exporter
  binary, used by roles: kafka, jmx-exporter, zookeeper

Justification:
Path to symbolic link to JMX exporter binary should not be managed by
the user since he is not responsible for binary download and
configuration of prometheus scraper.

Signed-off-by: cicharka <[email protected]>
* Introduced upgrade flag file
* preflight check for binary existance and version downgrade

Changes are based on result of discussion on upgrade approach and are
following convention used in 'Upgrade Kafka Exporter to v1.4.2 hitachienergy#2772'.

Signed-off-by: cicharka <[email protected]>
@cicharka cicharka force-pushed the feature/jmx_exporter branch from 1bd3987 to 0de13fb Compare December 10, 2021 00:00
Copy link
Contributor

@rafzei rafzei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cicharka cicharka requested a review from erzetpe December 10, 2021 08:01
@cicharka cicharka merged commit 09da85f into hitachienergy:develop Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants