Skip to content

monitoring: distinguish between browser and API requests

Administrator requested to merge sg/sources into master

Created by: slimsag

Browser requests are most often real users, while non-browser user agants are most often API consumers which have different requirements (slower response times are acceptable, they are often querying the entire count:999999 result set, etc.)

This change distinguishes between the two in GraphQL Promethees metrics by adding a source="browser" and source="other" field that is based on user agent sniffing.

In the frontend dashboard, the Search at a glance section now only shows user requests and there is an additional expandable Search API at a glance section.

Fixes #9358

Merge request reports

Loading