Comments (5)
Good ideas, something needs to be done to give better visibility into the errors (without looking at the server logs).
I think the type of errors will be easier, I think that's stored that in some JSON in the database with the collector statistics, but wasn't added to the UI. As for the node list, I need to finish the reverse DNS lookup. I started on it early on but focused first on getting other features incorporated.
from mesh-info.
I was mistaken, I wasn't saving the counts where it is readily accessible. But that just means I can implement something that captures the affected nodes so we can get more information.
from mesh-info.
I refactored the network polling functionality so that it looks up the DNS name for nodes that have problems and returns that information in a more usable structure to the calling function. With that, instead of just storing the name/IP of the nodes with errors in a summary column, I'm going to add a new table for node errors. It will store the node IP, name (if available), error type, and server response.
My initial thought is to add a "failing nodes" section on the overview page with columns for each of the different error types, with each column contains a list of the nodes that failed with that error (in the most recent run). A future enhancement would be a page where past errors can be viewed and the full responses. I'm not sure if there's a good way to display the response on the overview page (although I guess I could always link to a "details" page).
@Orv does that sound like it's along the lines of what you're thinking? I can share a screenshot once I get some of the UI elements put together.
from mesh-info.
I WOULD like to see a screenshot, thanks.
from mesh-info.
@Orv here's my first pass at a summary of the node errors on the main page. Just lists the node name/IP grouped by the error type. I plan on adding another page with the details of the response.
Edit: the response details are most useful for HTTP errors and parse errors, the connection and timeout errors typically all look about the same
from mesh-info.
Related Issues (20)
- Color constants from configuration
- Track IP address used for connecting to node HOT 1
- Simplify topology (OLSR) fetch
- Parse sysinfo.json based on API version
- Re-architect asyncio polling
- Use Rich to improve output of network report
- Simplify deployment HOT 2
- Fix primary IP address when RF disabled
- Recent tunnel link showing active on map HOT 3
- Include network mask for node HOT 4
- Optimize saving nodes and/or links to database HOT 1
- Cap link cost at 100
- Add hide option for legend
- Support multiple IP addresses for collector
- User preferences page
- Bearing should always be clockwise
- Migrate to SQLAlchemy 2.0 API
- Upgrade Leaflet to 1.9
- Upgrade to Bulma 1.0 HOT 1
- meshinfo-collector.service running but not HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mesh-info.