Skip to content

Commit fa90bbf

Browse files
authored
chore: telemetry stats update (#525)
1 parent 1a9d787 commit fa90bbf

4 files changed

Lines changed: 30 additions & 7 deletions

File tree

components/system-telemetry/FleetTelemetry.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,16 @@ import {
257257
FLEET_INSTALLS_CHART_COLORS,
258258
} from "~/utilities/chartColors";
259259
260-
// Reported through the same `supports_*` settings as the toggles, but an admin
261-
// cannot switch these on — detectFeatures() derives them from whether the
262-
// Discord / Tailscale / Steam credentials are configured.
260+
// Not application settings. The first three are derived from whether the
261+
// Discord / Tailscale / Steam credentials are configured; the GPU workloads are
262+
// switched per game server node, so "on" means a node is carrying that work.
263263
const CAPABILITY_KEYS = [
264264
"discord_bot",
265265
"game_server_nodes",
266266
"version_pinning",
267+
"demo_playback",
268+
"clip_renders",
269+
"live_streaming",
267270
];
268271
269272
export default {
@@ -282,6 +285,7 @@ export default {
282285
},
283286
totals: {
284287
gameServerNodes: true,
288+
gpuNodes: true,
285289
servers: true,
286290
dedicatedServers: true,
287291
publicServers: true,
@@ -472,6 +476,10 @@ export default {
472476
label: this.$t("pages.system_telemetry.totals.game_server_nodes"),
473477
value: totals?.gameServerNodes ?? 0,
474478
},
479+
{
480+
label: this.$t("pages.system_telemetry.totals.gpu_nodes"),
481+
value: totals?.gpuNodes ?? 0,
482+
},
475483
{
476484
label: this.$t("pages.system_telemetry.totals.servers"),
477485
value: totals?.servers ?? 0,

generated/zeus/const.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37198,6 +37198,7 @@ export const ReturnTypes: Record<string,any> = {
3719837198
},
3719937199
TelemetryFeatureAdoption:{
3720037200
enabled:"Int",
37201+
flagged:"Int",
3720137202
installsUsing:"Int",
3720237203
key:"String",
3720337204
reporting:"Int",
@@ -37206,6 +37207,7 @@ export const ReturnTypes: Record<string,any> = {
3720637207
TelemetryFleetTotals:{
3720737208
dedicatedServers:"Int",
3720837209
gameServerNodes:"Int",
37210+
gpuNodes:"Int",
3720937211
mapsPlayed:"Int",
3721037212
matches:"Int",
3721137213
matchesImported:"Int",

generated/zeus/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,6 +1648,7 @@ export type ValueTypes = {
16481648
}>;
16491649
["TelemetryFeatureAdoption"]: AliasType<{
16501650
enabled?:boolean | `@${string}`,
1651+
flagged?:boolean | `@${string}`,
16511652
installsUsing?:boolean | `@${string}`,
16521653
key?:boolean | `@${string}`,
16531654
reporting?:boolean | `@${string}`,
@@ -1657,6 +1658,7 @@ export type ValueTypes = {
16571658
["TelemetryFleetTotals"]: AliasType<{
16581659
dedicatedServers?:boolean | `@${string}`,
16591660
gameServerNodes?:boolean | `@${string}`,
1661+
gpuNodes?:boolean | `@${string}`,
16601662
mapsPlayed?:boolean | `@${string}`,
16611663
matches?:boolean | `@${string}`,
16621664
matchesImported?:boolean | `@${string}`,
@@ -66146,6 +66148,7 @@ export type ResolverInputTypes = {
6614666148
}>;
6614766149
["TelemetryFeatureAdoption"]: AliasType<{
6614866150
enabled?:boolean | `@${string}`,
66151+
flagged?:boolean | `@${string}`,
6614966152
installsUsing?:boolean | `@${string}`,
6615066153
key?:boolean | `@${string}`,
6615166154
reporting?:boolean | `@${string}`,
@@ -66155,6 +66158,7 @@ export type ResolverInputTypes = {
6615566158
["TelemetryFleetTotals"]: AliasType<{
6615666159
dedicatedServers?:boolean | `@${string}`,
6615766160
gameServerNodes?:boolean | `@${string}`,
66161+
gpuNodes?:boolean | `@${string}`,
6615866162
mapsPlayed?:boolean | `@${string}`,
6615966163
matches?:boolean | `@${string}`,
6616066164
matchesImported?:boolean | `@${string}`,
@@ -130569,6 +130573,7 @@ export type ModelTypes = {
130569130573
};
130570130574
["TelemetryFeatureAdoption"]: {
130571130575
enabled: number,
130576+
flagged: number,
130572130577
installsUsing: number,
130573130578
key: string,
130574130579
reporting: number,
@@ -130577,6 +130582,7 @@ export type ModelTypes = {
130577130582
["TelemetryFleetTotals"]: {
130578130583
dedicatedServers: number,
130579130584
gameServerNodes: number,
130585+
gpuNodes: number,
130580130586
mapsPlayed: number,
130581130587
matches: number,
130582130588
matchesImported: number,
@@ -187347,6 +187353,7 @@ export type GraphQLTypes = {
187347187353
["TelemetryFeatureAdoption"]: {
187348187354
__typename: "TelemetryFeatureAdoption",
187349187355
enabled: number,
187356+
flagged: number,
187350187357
installsUsing: number,
187351187358
key: string,
187352187359
reporting: number,
@@ -187356,6 +187363,7 @@ export type GraphQLTypes = {
187356187363
__typename: "TelemetryFleetTotals",
187357187364
dedicatedServers: number,
187358187365
gameServerNodes: number,
187366+
gpuNodes: number,
187359187367
mapsPlayed: number,
187360187368
matches: number,
187361187369
matchesImported: number,

i18n/locales/en.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,8 @@
12761276
"community": "Community",
12771277
"matches_caption": "hosted across the fleet",
12781278
"players_caption": "in a lineup, last 30 days",
1279-
"hosted_hint": "Hosted counts only matches a panel ran itself. Imported matches come from FACEIT or CS2 match history and are listed separately."
1279+
"hosted_hint": "Hosted counts only matches a panel ran itself. Imported matches come from FACEIT or CS2 match history and are listed separately.",
1280+
"gpu_nodes": "GPU Nodes"
12801281
},
12811282
"activity": {
12821283
"matches": "Matches Hosted Per Day (90d)",
@@ -1296,7 +1297,7 @@
12961297
"seasons": "Seasons",
12971298
"events": "Events",
12981299
"news": "News",
1299-
"highlights": "Highlights",
1300+
"highlights": "Auto Highlights",
13001301
"clip_renders": "Clip Renders",
13011302
"system_alerts": "System Alerts",
13021303
"awards": "Awards",
@@ -1317,14 +1318,18 @@
13171318
"stream_login_protection": "Stream Login Protection",
13181319
"player_name_registration": "Player Name Registration",
13191320
"league_division_requests": "League Division Requests",
1320-
"branding": "Custom Branding"
1321+
"branding": "Custom Branding",
1322+
"demo_playback": "Demo Playback",
1323+
"live_streaming": "Live Streaming",
1324+
"highlights_imported": "Auto Highlights (Imported)",
1325+
"clip_branding": "Clip Branding"
13211326
},
13221327
"panels_using": "Panels Using",
13231328
"total": "Total",
13241329
"optional": "Optional Features",
13251330
"optional_hint": "Features an admin can switch on or off in application settings.",
13261331
"capabilities": "Detected Capabilities",
1327-
"capabilities_hint": "Not switches — the panel detects these from whether the Discord, Tailscale, or Steam credentials are configured.",
1332+
"capabilities_hint": "Not application settings — these come from detected credentials (Discord, Tailscale, Steam) or from the GPU workload switches on each game server node.",
13281333
"configured": "Configured",
13291334
"always": "Always Available",
13301335
"always_hint": "Ship with every panel and cannot be turned off, so only usage is meaningful."

0 commit comments

Comments
 (0)