From 919c53ad428ed3075b70c430454cb300dc28730d Mon Sep 17 00:00:00 2001 From: Aleksandr Malyshev Date: Thu, 21 Apr 2022 12:52:13 +0300 Subject: [PATCH] [PLAT-2378] Add ability to aggregate universe metrics over time and nodes by min/avg/max/sum Summary: Need to read recording rules file, generated by Platform. Test Plan: Install k8s platform. Create universe. Make sure all the metrics are displayed correctly. Reviewers: sb-yb, sabbas Reviewed By: sabbas Subscribers: yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D16630 --- stable/yugaware/templates/configs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/stable/yugaware/templates/configs.yaml b/stable/yugaware/templates/configs.yaml index e3aa9ee2b7..f507d87cdb 100644 --- a/stable/yugaware/templates/configs.yaml +++ b/stable/yugaware/templates/configs.yaml @@ -261,6 +261,7 @@ data: evaluation_interval: 10s rule_files: - '/opt/yugabyte/prometheus/rules/yugaware.ad.*.yml' + - '/opt/yugabyte/prometheus/rules/yugaware.recording-rules.yml' scrape_configs: {{- if .Values.ocpCompatibility.enabled }} - job_name: "ocp-prometheus-federated"