Skip to content

2.25.0.0-b151

@mchiddy mchiddy tagged this 16 Oct 17:56
Summary:
In Replicated we were setting some metrics conf values like url, port, and scrape_interval which did not get set in YBA-installer setups. This meant that if scrape interval was configured the YBA java code did not know about it, only the prometheus knew about it. This diff adds the missing metrics related confs that we set in replicated.yml to yba-installer-platform.yml, reading from fields already set in yba-ctl.yml.

Specifically, this was causing problems with the fix https://github.com/yugabyte/yugabyte-db/commit/cc0cd6a02e8a1788c8c2a76bce8f63af7abe1391 which expected the metrics.scrape_interval to be set to the updated value in yb-platform.conf, but testing on YBA-installer showed this wasn't the case.

Test Plan: install YBA, ensure these new confs are present

Reviewers: amalyshev, dshubin, sanketh

Reviewed By: amalyshev

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D39086
Assets 2
Loading