search: view text on pins other than T0
Issue #159
resolved
In order to view router statistics information separately to the router’s logs, it is reported to pin T3 by router-netsender. It is text in JSON format.
When searching for T3 using vidgrind’s search page, nothing is shown despite the data existing on the datastore.
This needs to be explored and properly handled. If the text pin T is not a log, we should just display the text.
Sometimes the console print an error, but I believe this is when there’s no data for the date range given:
Failed to load resource: the server responded with a status of 502 (Bad Gateway)
http://vidgrind.ausocean.org/get?id=15413563891803&ts=1636522200-1636523340
Comments (3)
-
-
reporter I’m working on this.
-
reporter - changed status to resolved
Resolved in PR #172
- Log in to comment
It’s suspected that this problem might be caused by not having the desired pin in the pin map (https://bitbucket.org/ausocean/vidgrind/src/0874b30bdc3f023ddd7932b50e0888301865f8df/search.go#lines-68). One the PinName function is used(https://bitbucket.org/ausocean/vidgrind/src/0874b30bdc3f023ddd7932b50e0888301865f8df/search.go#lines-162) any pins that are not included in the pin map will not be selectable on the UI. It might be worth checking this (run a test instance of vidgrind…. ask Saxon/Trek how to do this).