-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve communication of service status to users #24
Comments
I'll talk to the coordinator of EMODnet Biology today. This is something we can try to do via EMODnet Central Portal (e.g. an alert when a service change etc). I added some time ago an automatic test to check every single service. So in case that one of the service endpoints change we would be alerted in at least one day thanks to the CD/CI magic. But we don't have such a thing for individual layers. Maybe we want to also check the layers that we use in examples, vignettes etc? |
The EMODnet webservices are being monitored centrally through https://monitor.emodnet.eu/ and there is a list of all webservices in https://emodnet.ec.europa.eu/en/data I have suggested to Salva that he contacts Tim Collart as he might be able to provide some suggestions on how to best implement an up to date list of the EMODnet webservices, without needing manual intervention. Anna, I'm happy to provide more detailed explanations if required. Hope this helps. |
Already looking at using the REST API from https://monitor.emodnet.eu/ to retrieve the available services as JSON (and also tells if they are down!). But it is giving some problems, I'll keep you posted. @tim-collart Do you have any suggestions about how can we retrieve the OGC services of EMODnet in a machine-to-machine way? Can we do any web scrapping from https://emodnet.ec.europa.eu/en/data or rather try to persue https://monitor.emodnet.eu/? What of those two is more up-to-date? |
Thanks for the information @JoBeja! I agree that automatically checking the service through the packages would be ideal but being able to point users to the monitoring site in the meantime as a first place to troubleshoot errors will also be very useful. I'll add a note to the README. |
One observation though, for context for where this all started also. A user opened an issue on Friday (#23) regarding calls to service I'm now looking on the monitoring site you shared @JoBeja and I can't seem to find any information on the service the user was trying to access (https://drive.emodnet-geology.eu/geoserver/gtk/wfs). So sadly it wouldn't have been helpful for the user nor myself as I was trying to debug the issue yesterday (perhaps there is an obvious reason for this relating to the changes going on that I am not fully aware of @salvafern ?). It would be good to use the issue we encountered yesterday as a case study to develop our strategy. Hopefully there will be a machine-to-machine way to perform the necessary checks on the services so we have good ways of separating service errors from package bugs. |
OK, I see. So, from my understanding the monitoring tool checks the Services, not the individual layers, which is what the substrates maps is, right? Also, I'm not sure if @tim-collart will have any idea on how you can query the individual services in a way that does not require manual intervention (so that the list of webservices is updated if one endpoint is removed or a new one added). I think (and hope) that Tim might be able to give some suggestions, this is way beyond my expertise. |
So from my understanding, https://drive.emodnet-geology.eu/geoserver/gtk/wfs is the But indeed, the key for us (and users) is to be able to efficiently diagnose whether a problem we/they are having is a problem with the server or the package. Hopefully Tim might be able to advise! |
You are right @annakrystalli, seems to me that the services in the monitor tool are not all the services available. According to the docs, the services are added manually, so I think this is not the most updated list of the service endpoints (although it gives some interesting data about their current status) Not sure if the maintainers of each service have to notify the EMODnet Central Portal team whenever a service is updated. Probably Tim can say the best way to get an updated list of the services. |
There is no need to do this within an R package or similar. If services are missing, we are happy to add them. I propose you close this issue. |
Hi @bart-v, As I mentioned in my comments above,this is about communication with users not the maintainers and it arose because users of the package opened an issue here when the problem was with the service. So all we are trying to do in this issue is decide on a strategy to avoid such situations in future and ensure issues opened here (and effort to debug them) is exclusively regarding the package. We are currently just discussing options. |
That is not what the issue title says... |
The topic evolved from the first comment. I've ammended the title. |
Good, thanks |
I've added a note in the README for now: Lines 69 to 70 in 58352d3
directing users to the OGC monitor. As mentioned though, there are endpoints that are currently missing (e.g https://drive.emodnet-geology.eu/geoserver/gtk/wfs which is the service the user was trying to access). I can't imagine I have the authority to add them (I imagine maintainers need to add them so the correct contact emails are associated with them?). Or is this something you can help with @bart-v ? As mentioned in a comment above, in our README we list 17 service endpoints while the monitoring tool only lists 10 WFS services. |
Hi all, A number of issues/questions raised: Listing all the EMODnet Services:
For those reasons, for now we are listing all services on a github page (https://github.com/EMODnet/Web-Service-Documentation) which we have asked the thematic portals to keep updated by issuing pull requests (i.e. manually). But the goal in the end is to have all service metadata described in the Central Portal GeoNetwork, which should be the way to get the metadata on them. However, at the end of the day, in case services change (e.g. URL endpoint), the updating of the metadata document, which will then be harvested by the Central Portal GeoNetwork and available in the CSW, will remain a manual process for the Thematic Portals. A good approach to make sure what is reported in the metadata is accurate, would then be to read the actual service endpoints monitored by monitor.emodnet.eu from the Central Portal CSW as well. Checking for uptime of the services:
As such, I would propose that for your use case (alerting users in case of service issues) to do the error checking of the service within the R code itself, so when a users runs a query on an EMODnet service, the issue will be detected in real time on the client side, and reported appropriately to the user. This is what we are doing for the European Atlas of the Seas (for the EMODnet WMS services). At first glance, I would say you can do Sorry for the long post but hope this helps. Happy to answer any questions PS: One more confusion I want to clear up. The number of services listed on https://github.com/EMODnet/Web-Service-Documentation is different from the ones listed https://monitor.emodnet.eu/. This is because several portals have split their services over multiple GeoServer workspaces, which are listed separately on the github page (they cover different kinds of data), but they are essentially the same server, therefore they are only listed once in monitor.emodnet.eu. |
Thanks so much for the detailed info @tim-collart . Very helpful. |
Answers to @tim-collart questions
Agree largely with user notification proposal by @tim-collart The monitor tool can certainly be expanded to do more, i.e. check availability of layers, inspect correct WFS responses etc. |
Had a chat with @annakrystalli today: @annakrystalli will work on #26
|
Hi @tim-collart and @bart-v , do you know if there is any mail list of EMODnet that could we use to know when new services are added or edited? |
I feel we need good communication channels set up with service maintainers to be able to quickly figure out whether problems are from bugs in the package or service issues.
We should discuss at the next meeting.
I think at the very least a list of contact details for each service is necessary but would be interesting to explore whether there are better options.
The text was updated successfully, but these errors were encountered: