Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions components/system-telemetry/FleetTelemetry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,16 @@ import {
FLEET_INSTALLS_CHART_COLORS,
} from "~/utilities/chartColors";

// Reported through the same `supports_*` settings as the toggles, but an admin
// cannot switch these on — detectFeatures() derives them from whether the
// Discord / Tailscale / Steam credentials are configured.
// Not application settings. The first three are derived from whether the
// Discord / Tailscale / Steam credentials are configured; the GPU workloads are
// switched per game server node, so "on" means a node is carrying that work.
const CAPABILITY_KEYS = [
"discord_bot",
"game_server_nodes",
"version_pinning",
"demo_playback",
"clip_renders",
"live_streaming",
];

export default {
Expand All @@ -282,6 +285,7 @@ export default {
},
totals: {
gameServerNodes: true,
gpuNodes: true,
servers: true,
dedicatedServers: true,
publicServers: true,
Expand Down Expand Up @@ -472,6 +476,10 @@ export default {
label: this.$t("pages.system_telemetry.totals.game_server_nodes"),
value: totals?.gameServerNodes ?? 0,
},
{
label: this.$t("pages.system_telemetry.totals.gpu_nodes"),
value: totals?.gpuNodes ?? 0,
},
{
label: this.$t("pages.system_telemetry.totals.servers"),
value: totals?.servers ?? 0,
Expand Down
2 changes: 2 additions & 0 deletions generated/zeus/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37198,6 +37198,7 @@ export const ReturnTypes: Record<string,any> = {
},
TelemetryFeatureAdoption:{
enabled:"Int",
flagged:"Int",
installsUsing:"Int",
key:"String",
reporting:"Int",
Expand All @@ -37206,6 +37207,7 @@ export const ReturnTypes: Record<string,any> = {
TelemetryFleetTotals:{
dedicatedServers:"Int",
gameServerNodes:"Int",
gpuNodes:"Int",
mapsPlayed:"Int",
matches:"Int",
matchesImported:"Int",
Expand Down
8 changes: 8 additions & 0 deletions generated/zeus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1648,6 +1648,7 @@ export type ValueTypes = {
}>;
["TelemetryFeatureAdoption"]: AliasType<{
enabled?:boolean | `@${string}`,
flagged?:boolean | `@${string}`,
installsUsing?:boolean | `@${string}`,
key?:boolean | `@${string}`,
reporting?:boolean | `@${string}`,
Expand All @@ -1657,6 +1658,7 @@ export type ValueTypes = {
["TelemetryFleetTotals"]: AliasType<{
dedicatedServers?:boolean | `@${string}`,
gameServerNodes?:boolean | `@${string}`,
gpuNodes?:boolean | `@${string}`,
mapsPlayed?:boolean | `@${string}`,
matches?:boolean | `@${string}`,
matchesImported?:boolean | `@${string}`,
Expand Down Expand Up @@ -66146,6 +66148,7 @@ export type ResolverInputTypes = {
}>;
["TelemetryFeatureAdoption"]: AliasType<{
enabled?:boolean | `@${string}`,
flagged?:boolean | `@${string}`,
installsUsing?:boolean | `@${string}`,
key?:boolean | `@${string}`,
reporting?:boolean | `@${string}`,
Expand All @@ -66155,6 +66158,7 @@ export type ResolverInputTypes = {
["TelemetryFleetTotals"]: AliasType<{
dedicatedServers?:boolean | `@${string}`,
gameServerNodes?:boolean | `@${string}`,
gpuNodes?:boolean | `@${string}`,
mapsPlayed?:boolean | `@${string}`,
matches?:boolean | `@${string}`,
matchesImported?:boolean | `@${string}`,
Expand Down Expand Up @@ -130569,6 +130573,7 @@ export type ModelTypes = {
};
["TelemetryFeatureAdoption"]: {
enabled: number,
flagged: number,
installsUsing: number,
key: string,
reporting: number,
Expand All @@ -130577,6 +130582,7 @@ export type ModelTypes = {
["TelemetryFleetTotals"]: {
dedicatedServers: number,
gameServerNodes: number,
gpuNodes: number,
mapsPlayed: number,
matches: number,
matchesImported: number,
Expand Down Expand Up @@ -187347,6 +187353,7 @@ export type GraphQLTypes = {
["TelemetryFeatureAdoption"]: {
__typename: "TelemetryFeatureAdoption",
enabled: number,
flagged: number,
installsUsing: number,
key: string,
reporting: number,
Expand All @@ -187356,6 +187363,7 @@ export type GraphQLTypes = {
__typename: "TelemetryFleetTotals",
dedicatedServers: number,
gameServerNodes: number,
gpuNodes: number,
mapsPlayed: number,
matches: number,
matchesImported: number,
Expand Down
13 changes: 9 additions & 4 deletions i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,8 @@
"community": "Community",
"matches_caption": "hosted across the fleet",
"players_caption": "in a lineup, last 30 days",
"hosted_hint": "Hosted counts only matches a panel ran itself. Imported matches come from FACEIT or CS2 match history and are listed separately."
"hosted_hint": "Hosted counts only matches a panel ran itself. Imported matches come from FACEIT or CS2 match history and are listed separately.",
"gpu_nodes": "GPU Nodes"
},
"activity": {
"matches": "Matches Hosted Per Day (90d)",
Expand All @@ -1296,7 +1297,7 @@
"seasons": "Seasons",
"events": "Events",
"news": "News",
"highlights": "Highlights",
"highlights": "Auto Highlights",
"clip_renders": "Clip Renders",
"system_alerts": "System Alerts",
"awards": "Awards",
Expand All @@ -1317,14 +1318,18 @@
"stream_login_protection": "Stream Login Protection",
"player_name_registration": "Player Name Registration",
"league_division_requests": "League Division Requests",
"branding": "Custom Branding"
"branding": "Custom Branding",
"demo_playback": "Demo Playback",
"live_streaming": "Live Streaming",
"highlights_imported": "Auto Highlights (Imported)",
"clip_branding": "Clip Branding"
},
"panels_using": "Panels Using",
"total": "Total",
"optional": "Optional Features",
"optional_hint": "Features an admin can switch on or off in application settings.",
"capabilities": "Detected Capabilities",
"capabilities_hint": "Not switches — the panel detects these from whether the Discord, Tailscale, or Steam credentials are configured.",
"capabilities_hint": "Not application settings — these come from detected credentials (Discord, Tailscale, Steam) or from the GPU workload switches on each game server node.",
"configured": "Configured",
"always": "Always Available",
"always_hint": "Ship with every panel and cannot be turned off, so only usage is meaningful."
Expand Down