Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Enable multiple users to see same feed history #383

Open
mpcrossley opened this issue Jul 18, 2020 · 1 comment
Open

Enable multiple users to see same feed history #383

mpcrossley opened this issue Jul 18, 2020 · 1 comment

Comments

@mpcrossley
Copy link

Summary:

I would like to have one instance that multiple users can load up to see all history and logs.

Steps to reproduce:

I start the docker image, point settings to static GTFS and RT feeds, and the http://localhost:8080/monitoring.html link shows validation / tests just fine. total iterations is 16.

I open a new incognito window, go to the same URL, and I see the "Running Time" as 0h 0m 0s, and no results.

Expected behavior:

Ideally, anyone visiting the site should be able to see the ongoing running validation without having to load their own validation each time they go to the site. In effect, I want to be able to have a persistent instance that multiple people can just go in and see the current iteration and the history.

Observed behavior:

I open a new incognito window, go to the same URL, and I see the "Running Time" as 0h 0m 0s, and no results.

Platform:

Docker, chrome.

@barbeau barbeau changed the title How to run persistently Enable multiple users to see same feed history Jul 20, 2020
@barbeau
Copy link
Member

barbeau commented Jul 20, 2020

@mpcrossley We made the decision when implementing the web UI for this project that even though there is a single monitoring thread internally for each feed (i.e., we don't archive the same GTFS-RT endpoint more than once), each user should have their own view of that feed. This means currently the view of the feed starts at "0h 0m 0s" for each user even if monitoring the same feed.

I could certainly see other use cases where you want multiple users to see the same monitoring and error history. This should be possible without too many changes to the project, and I'd certainly love to see an option exist for this project where you could configure this - possibly a UI option that would allow users to click to see the history before they started monitoring it.

We're not actively working on the web UI of this project now, but contributions are certainly accepted if you or someone else would like to work on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants