openvibers/openvibe.host Commits
The release UX check watches Space, Bot, Events and OpenVibe.Services too, and checks the Codes and Services pages people land on. (#37)
Changes
@@@ -9,7 +9,7 @@ Type=oneshot# Root reads the state and writes the textfile metrics; Chrome runs as the unprivileged ovcheck account# (runuser), never as root. --sites names the watched services (inventory origin or manifest publicOrigin).User=root--ExecStart=/usr/local/bin/ovhost browser-watch --sites live,network,tools,media,community,chat,games,blog,wiki,codes,host,ai,billing,search,sources,news,reviews,deals,coupons,trade,tips,vip,openre++ExecStart=/usr/local/bin/ovhost browser-watch --sites live,network,tools,media,community,chat,games,blog,wiki,codes,host,ai,billing,search,sources,news,reviews,deals,coupons,trade,tips,vip,openre,space,bot,events,servicesEnvironment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binEnvironment=OVHOST_INVENTORY=/etc/openvibe/host.jsonNice=10@@@ -33,7 +33,7 @@ Prometheus (127.0.0.1:9090) ──GET /api/v1/alerts──▶ ovhost alerts re## The release UX check--`ovhost browser-watch --sites live,network,…` (openvibe-browsercheck.timer, every 5 minutes; the unit lists all 23++`ovhost browser-watch --sites live,network,…` (openvibe-browsercheck.timer, every 5 minutes; the unit lists all 27public sites) reads each watched site's`/release.json`. For a release it has not checked yet, or once a day, it runs[scripts/browser-check.js](../scripts/browser-check.js) in Chrome as the unprivileged `ovcheck` account (never@@@ -52,6 +52,8 @@ const KNOWN_ROUTES = {chat: ['/', '/rooms', '/updates'],wiki: ['/', '/updates'],blog: ['/', '/updates'],++ codes: ['/', '/start', '/harnesses', '/improve'],++ services: ['/', '/docs', '/oauth', '/policy'],// Billing's only public page (its root is the API).billing: { only: ['/policy'] },};
@@ -9,7 +9,7 @@ Type=oneshot
@@ -9,7 +9,7 @@ Type=oneshot
# Root reads the state and writes the textfile metrics; Chrome runs as the unprivileged ovcheck account
# Root reads the state and writes the textfile metrics; Chrome runs as the unprivileged ovcheck account
# (runuser), never as root. --sites names the watched services (inventory origin or manifest publicOrigin).
# (runuser), never as root. --sites names the watched services (inventory origin or manifest publicOrigin).
User=root
User=root
-ExecStart=/usr/local/bin/ovhost browser-watch --sites live,network,tools,media,community,chat,games,blog,wiki,codes,host,ai,billing,search,sources,news,reviews,deals,coupons,trade,tips,vip,openre
+ExecStart=/usr/local/bin/ovhost browser-watch --sites live,network,tools,media,community,chat,games,blog,wiki,codes,host,ai,billing,search,sources,news,reviews,deals,coupons,trade,tips,vip,openre,space,bot,events,services
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Environment=OVHOST_INVENTORY=/etc/openvibe/host.json
Environment=OVHOST_INVENTORY=/etc/openvibe/host.json
Nice=10
Nice=10
@@ -33,7 +33,7 @@ Prometheus (127.0.0.1:9090) ──GET /api/v1/alerts──▶ ovhost alerts re
@@ -33,7 +33,7 @@ Prometheus (127.0.0.1:9090) ──GET /api/v1/alerts──▶ ovhost alerts re
## The release UX check
## The release UX check
-`ovhost browser-watch --sites live,network,…` (openvibe-browsercheck.timer, every 5 minutes; the unit lists all 23
+`ovhost browser-watch --sites live,network,…` (openvibe-browsercheck.timer, every 5 minutes; the unit lists all 27
public sites) reads each watched site's
public sites) reads each watched site's
`/release.json`. For a release it has not checked yet, or once a day, it runs
`/release.json`. For a release it has not checked yet, or once a day, it runs
[scripts/browser-check.js](../scripts/browser-check.js) in Chrome as the unprivileged `ovcheck` account (never
[scripts/browser-check.js](../scripts/browser-check.js) in Chrome as the unprivileged `ovcheck` account (never
@@ -52,6 +52,8 @@ const KNOWN_ROUTES = {
@@ -52,6 +52,8 @@ const KNOWN_ROUTES = {
chat: ['/', '/rooms', '/updates'],
chat: ['/', '/rooms', '/updates'],
wiki: ['/', '/updates'],
wiki: ['/', '/updates'],
blog: ['/', '/updates'],
blog: ['/', '/updates'],
+ codes: ['/', '/start', '/harnesses', '/improve'],
+ services: ['/', '/docs', '/oauth', '/policy'],
// Billing's only public page (its root is the API).
// Billing's only public page (its root is the API).
billing: { only: ['/policy'] },
billing: { only: ['/policy'] },
};
};