-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs/Examples needed for simple configurations #148
Comments
Hi @MarkOnDuty sorry for the delayed response, just now getting back into things I completely agree that things like layout configuration needs to be documented better within the vaping docs itself. Copy https://github.com/20c/graphsrv/blob/master/graphsrv/etc/layouts.yaml to a new location and edit it, then set your apps.graphsrv.layout_config_file in your config to point to your new layout file. You can update the overview(index) layout in there as well as the detail layout.
Other than going back in the browser history, there currently is none, which seems like an oversight Alas our cycles this month are really limited, but hopefully will have some time to spend on vaping soon. |
To keep more history up the limit parameter in the data config
Note that this has a tendency to get laggy rather qick, and if you need a long term history storage of the data the better option for now is to also output to a timeseries db, with the caveat that history stored in a timeseries db is currently not accessible from the UI. |
Nice. I'm giving this a go now. As for the timeseries db... Would it make sense, or be possible, to just throw the data coming from Vaping into Grafana or a similar tool? That way the front-end isn't your problem. Grafana's interface is pretty decent, from my experience. |
I am not familiar with Grafana, will need to take a look - generally speaking as long as Grafana exposes an API or database to post to extending a vaping plugin that outputs to that shouldn't be too difficult. |
* adjust changelog * fix issue with fping defunct/zombie processes (#133) * changelog * drop py3.6 support * poetry relock * run pyupgrade * linting * fix test workflow * lint tests * custom layout example * documentation on custom layouts (#148) * fix rtd * rename file * poetry relock * changelog * poetry relock * linting * remove py3.6 * fix mtr test * linting * Update layout.md
Compared to SmokePing, Vaping was a piece of cake to get up, running, and watching the hosts I'm interested in. Thanks for that.
The configuration documentation and examples leave me hanging on the first couple of things I want to do:
Yes, the Vaping docs point one to the graphsrv docs, which do have an example of a 2x2 grid, but where does that fit into the Vaping configuration, or is it in a separate YML file altogether? I would be stoked if I could get a 1x3 grid for the index layout.
For the life of me, I can't figure out how to modify the standalone latency example to display more than 20 minutes of history. I'd like a couple of hours, at least.
I let out a whoop of joy when I accidentally discovered the detail layout, but switched to frustrated grumbles when I couldn't figure out how to get back to the index layout without editing the URL.
The text was updated successfully, but these errors were encountered: