You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"perfSONAR Host Metrics" dashboard template contains annotations to show throughput tests. I found that the template uses variable $node_name which is then used to construct the query for annotations.
The variable says: {"find":"terms", "field":"meta.uname.nodename.keyword", "query": "meta.id: $host", "size": 1}
And annotations reference them:
test.type.keyword: throughput AND meta.destination.hostname.keyword: ${node_name}
test.type.keyword: throughput AND meta.source.hostname.keyword: ${node_name}
However node_name variable returns short hostname instead of FQDN which is contained in the field meta.destination.hostname.keyword or meta.source.hostname.keyword. Therefore the query doesn't work i.e. returns nothing.
So in my testing host with 5.1 toolkit under Ubuntu 20 variable value is retrieved as psmall-poz2 while meta.source.hostname.keyword field returns FQDN psmall-poz2.man.poznan.pl
To match variable to the query in annotation I tested another field in annotation i.e. reference.psconfig.created-by.agent-hostname: $node_name which in my case returns short hostname but I'm not sure this is a valid solution.
I corrected this to filter on the normalized ip fields in pscheduler records in addition to name. This was made possible by other issue reported that led to IP collection and seems to work better.
"perfSONAR Host Metrics" dashboard template contains annotations to show throughput tests. I found that the template uses variable $node_name which is then used to construct the query for annotations.
The variable says:
{"find":"terms", "field":"meta.uname.nodename.keyword", "query": "meta.id: $host", "size": 1}
And annotations reference them:
However node_name variable returns short hostname instead of FQDN which is contained in the field meta.destination.hostname.keyword or meta.source.hostname.keyword. Therefore the query doesn't work i.e. returns nothing.
So in my testing host with 5.1 toolkit under Ubuntu 20 variable value is retrieved as
psmall-poz2
whilemeta.source.hostname.keyword
field returns FQDNpsmall-poz2.man.poznan.pl
To match variable to the query in annotation I tested another field in annotation i.e.
reference.psconfig.created-by.agent-hostname: $node_name
which in my case returns short hostname but I'm not sure this is a valid solution.The text was updated successfully, but these errors were encountered: