From d174ce511c13133da26f83718fb47d64e08bec21 Mon Sep 17 00:00:00 2001 From: raymond zhao Date: Fri, 20 Oct 2023 15:13:35 -0400 Subject: [PATCH 1/2] update jmx status output --- pkg/status/templates/jmxfetch.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/status/templates/jmxfetch.tmpl b/pkg/status/templates/jmxfetch.tmpl index e32d6092a26756..23eaa6e364aed1 100644 --- a/pkg/status/templates/jmxfetch.tmpl +++ b/pkg/status/templates/jmxfetch.tmpl @@ -65,6 +65,9 @@ JMXFetch instance_bean_count: {{ .instance_bean_count }} instance_attribute_count: {{ .instance_attribute_count }} instance_metric_count: {{ .instance_metric_count }} + instance_domains_queried: {{ .instance_domains_queried }} + instance_wildcard_query_count: {{ .instance_wildcard_query_count }} + instance_attribute_match_ratio: {{ .instance_attribute_match_ratio }} {{- end -}} {{- end }} {{- end }} From 865e38d40714d1e42c3505a4bf9fa7eb18989558 Mon Sep 17 00:00:00 2001 From: raymond zhao Date: Thu, 9 Nov 2023 11:41:53 -0500 Subject: [PATCH 2/2] rename --- pkg/status/templates/jmxfetch.tmpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/status/templates/jmxfetch.tmpl b/pkg/status/templates/jmxfetch.tmpl index 23eaa6e364aed1..65315b6c36ce3c 100644 --- a/pkg/status/templates/jmxfetch.tmpl +++ b/pkg/status/templates/jmxfetch.tmpl @@ -65,9 +65,8 @@ JMXFetch instance_bean_count: {{ .instance_bean_count }} instance_attribute_count: {{ .instance_attribute_count }} instance_metric_count: {{ .instance_metric_count }} - instance_domains_queried: {{ .instance_domains_queried }} - instance_wildcard_query_count: {{ .instance_wildcard_query_count }} - instance_attribute_match_ratio: {{ .instance_attribute_match_ratio }} + instance_wildcard_domain_query_count: {{ .instance_wildcard_domain_query_count }} + instance_bean_match_ratio: {{ .instance_bean_match_ratio }} {{- end -}} {{- end }} {{- end }}