Seeking new ideas
The background is as follows: There is a problem in the production environment. After accessing page A, users will search for data or select data from a dropdown list, which is supported by another service. If the service pretends to be dead, data will not be searchable. Which product or technology of Grafana should be used to implement this false death situation, except for port monitoring. Of course, each of our services is dual machine. One refresh has data, another refresh has no data, this is because one of the services has been faked dead. Please provide some ideas
Can you just use dashboard variable populated via API from an external service? If service is alive, user will be able to choose values from. If service is dead, no values would be shown.
Can you provide detailed information or documentation? example
I donât understand what it means
Itâs not clear what you asked. How to monitor it? How to query/visualise service, which can be âdeadâ in Grafana?
When configured URL is accessible, values from it are available in the drop-down list:
When there is no access to the configured URL (service that provides data is âdeadâ), variable TestVar wonât have any values.
Is the fake death service suitable for Grafanaâs other products in terms of the entire front-end to back-end chain
Has the service that can only access page A been down? If there is no data available for the search results on page A, it means that the service for this search content is down
Yes, service as a service. Service can be up and down usually, so whatâs a problem?
I hope to have a product or technology that can access the content of page A while the search or other content is supported by other services. So, there can be a technology that, after accessing page A, simulates a person clicking on the search to know if the service has been down
Not clear for me how Grafana is involved in this process. Is your goal sort of automated testing of some webpages?
Yes, visit page A, enter keywords and click search. If there are results, it means that the service that supports the search function is not down. If there are no results, it means that the service that generated the search results is down.
Thank you, I am familiar with this product