Skip to main content

Server Agent

Server Agent is a way of sending website data requests through the server to the data source. There are two ways in which the Server Agent sends data requests:

  • HTTP Request: Sends data requests to the server via HTTP request and then redirects them to the data source.
  • WebSocket Request: Sends data requests to the server via WebSocket request and then redirects them to the data source.

The HTTP request method is simple and direct, but it may encounter performance bottlenecks during concurrent data queries. The WebSocket request method can improve the efficiency of concurrent data queries.

Currently, the Metad Analytics Cloud uses WebSocket requests for data requests.

WebSocket Request

WebSocket request involves establishing a WebSocket connection between the application web page and the server, and then sending data requests to the server through this connection, which are then forwarded to the data source by the server.

You can check the status of Server Agent requests in the Tune menu under the Local Proxy option in the website application: number of requests, number of completions, and completion ratio.

Agent Tune
Adjust Local Proxy

Request Authorization

For data sources using Basic Authentication, data viewers need to provide their authorization information to access the data. Users can view their authorization information in the Authorization menu.

Agent Authentications
Authorization