Skip to content

Commit 54ce446

Browse files
committed
Switching matrix to use test.spec parameters by default. Fixes case where IP specified instead of a hostname even though reverse lookup works. Still works in all other cases. Only case where it would be break is if they don't specify source...which can fix by tweaking parameters and is not normal case
1 parent 46a0978 commit 54ce446

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

psconfig/perfsonar-psconfig/etc/grafana-agent.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"datasource_selector": "auto",
1111
"stat_field": "result.packets.loss",
1212
"stat_type": "max",
13-
"row_field": "meta.source.hostname.keyword",
14-
"col_field": "meta.destination.hostname.keyword",
13+
"row_field": "test.spec.source.keyword",
14+
"col_field": "test.spec.dest.keyword",
1515
"value_field": "Max",
1616
"value_text": "Loss",
1717
"unit": "percentunit",
@@ -40,8 +40,8 @@
4040
"datasource_selector": "auto",
4141
"stat_field": "result.rtt.min",
4242
"stat_type": "min",
43-
"row_field": "meta.source.hostname.keyword",
44-
"col_field": "meta.destination.hostname.keyword",
43+
"row_field": "test.spec.source.keyword",
44+
"col_field": "test.spec.dest.keyword",
4545
"value_field": "Min",
4646
"value_text": "RTT",
4747
"unit": "s",
@@ -66,8 +66,8 @@
6666
"datasource_selector": "auto",
6767
"stat_field": "result.throughput",
6868
"stat_type": "avg",
69-
"row_field": "meta.source.hostname.keyword",
70-
"col_field": "meta.destination.hostname.keyword",
69+
"row_field": "test.spec.source.keyword",
70+
"col_field": "test.spec.dest.keyword",
7171
"value_field": "Average",
7272
"value_text": "Throughput",
7373
"unit": "bps",
@@ -101,8 +101,8 @@
101101
"std_deviation_bounds_lower": false,
102102
"std_deviation_bounds_upper": false
103103
},
104-
"row_field": "meta.source.hostname.keyword",
105-
"col_field": "meta.destination.hostname.keyword",
104+
"row_field": "test.spec.source.keyword",
105+
"col_field": "test.spec.dest.keyword",
106106
"value_field": "Std Dev",
107107
"value_text": "Hop Count Standard Deviation",
108108
"unit": "none",

0 commit comments

Comments
 (0)