diag is the Algolia diagnostic tool.
Current diagnostics:
- full user-agent and timezone of the user
- current ip
- proxy detection
- geolocation and reverse geocoding using Nominatim
- navigation timing of the diag tool webpage
/favicon.icodownload timing from big websites- Algolia /diag endpoint resource timing
- algoliasearch simple empty search
- Latency, bandwidth, ipv6 and mobile connection measurements using lognormal/boomerang
npm install
npm run devnpm run build
npm run serve-buildpublish to https://algolia.github.io/diag/
npm run deployTargets modern evergreen browsers: Chrome ≥ 87, Edge ≥ 88, Firefox ≥ 78, Safari ≥ 14.1
(declared in browserslist and enforced via build.target in vite.config.js).
Internet Explorer is not supported — the algoliasearch v5 client does not run there.
boomerang build
We use lognormal/boomerang as a way to gather even more information on the setup.
The frontend/static/boomerang file was built with:
git clone git@github.com:lognormal/boomerang.git
cd boomerang
npm install -g uglifyjs
make PLUGINS='plugins/rt.js plugins/bw.js plugins/ipv6.js plugins/mobile.js' MINIFIER='uglifyjs'