Skip to main content

Metrics

1. Overview

This section displays the definitions of the metrics currently supported by PGOS PrometheusExporter.

2. Metrics

CategoryMetric NameMetric TypeDescriptionLabelsLabel Description
PlayersccuGaugeConcurrent usersTitleRegionIDTitle Region ID in PGOS
dauGaugeDaily active users
dnuGaugeDaily new users
login_countCounterLogin count in the last minute
new_players_countCounterNew players count in the last minute
DS Hostingcurrent_battlesession_countGaugeCurrent battle session countTitleRegionID
FleetID
DC
BuildID
DC - Data Center
current_playerbattlesession_countGaugeCurrent player battle session count
current_machine_countGaugeCurrent machine count
current_occupied_machine_countGaugeCurrent occupied machine count
ds_crash_countCounterCount of dedicated server crashes in the last minute
battlesession_placed_time_distributionCounterTime cost distribution of battle session placement in the last minuteTitleRegionID
FleetID
DC
BuildID
Distribution
Distribution Values:
"0_3": Range[0s, 3s)
"3_10": Range[3s, 10s)
"10_60": Range[10s, 60s)
"60_120": Range[60s, 120s)
"120_more": Range[120s, ∞)
battlesession_actived_time_distributionCounterTime cost distribution of battle session activation in the last minute
failed_battlesession_placement_countCounterCount of failed battle session placement in the last minute, including battle session statuses of “Failed” and “Timeout”TitleRegionID
FleetID
machine_cpu_usage_distributionGaugeMachine CPU usage distributionTitleRegionID
FleetID
DC
Distribution
Distribution Values:
"percentage_0_20": Usage Range[0%, 20%)
"percentage_20_50": Usage Range[20%, 50%)
"percentage_50_80": Usage Range[50%, 80%)
"percentage_80_100": Usage Range[80%, 100%]
machine_memory_usage_distributionGaugeMachine memory usage distribution
machine_cpu_usage_avgGaugeAverage machine CPU usage in the last minute(%)TitleRegionID
FleetID
MachineID
Note: You can export these metrics in dev/test regions, but in production region, you can export these machine-related metrics only when the machine load status is overloaded.
machine_cpu_usage_maxGaugeMaximum machine CPU usage in the last minute(%)
machine_cpu_usage_minGaugeMinimum machine CPU usage in the last minute(%)
machine_memory_usage_avgGaugeAverage machine memory usage in the last minute(%)
machine_memory_usage_maxGaugeMaximum machine memory usage in the last minute(%)
machine_memory_usage_minGaugeMinimum machine memory usage in the last minute(%)
machine_network_traffic_inGaugeInbound network traffic to the machine in the last minute (bytes)
machine_network_traffic_outGaugeOutbound network traffic from the machine in the last minute (bytes)
machine_network_packet_inGaugeThe amount of network packets inbound to the machine in the last minute
machine_network_packet_outGaugeThe amount of network packets outbound from the machine in the last minute
Matchmakingmatchmaking_request_countCounterRequest count in the last minuteTitleRegionID
Configuration
Configuration - Matchmaking Configuration Name
matchmaking_result_code_distributionCounterResult code distribution of requests in the last minuteTitleRegionID
Configuration
ResultCode
ResultCode Values:
"1": Completed
"2": Multiplayer Team Request Canceled
"3": Searching Stage Canceled
"4": Backfilling Stage Canceled
"6": Team Request Timeout
"7": Searching Stage Timeout
"8": Backfilling Stage Timeout
"9": Accepting Stage Timeout
"10": Matchmaking Result Rejected
"11": Multiplayer Team Request Rejected
"12": Title Region Closed
"13": Auto Continue Failed
"15": BattleSession Placement Failed
"16": Matchmaking Engine Internal Failure
matchmaking_time_cost_distributionCounterTime cost distribution of requests in the last minuteTitleRegionID
Configuration
Distribution
Distribution Values:
"0_3": Range[0s, 3s)
"3_5": Range[3s, 5s)
"5_10": Range[5s, 10s)
"10_15": Range[10s, 15s)
"15_20": Range[15s, 20s)
"20_25": Range[20s, 25s)
"25_30": Range[25s, 30s)
"30_35": Range[30s, 35s)
"35_40": Range[35s, 40s)
"40_45": Range[40s, 45s)
"45_50": Range[45s, 50s)
"50_55": Range[50s, 55s)
"55_60": Range[55s, 60s)
"60_more": Range[60s, ∞)
Virtual Servervs_cpu_usageGaugeCPU vCores usageTitleRegionID
ServerName
Category
Category Values:
"avg": average
vs_memory_usageGaugeMemory(MB) usage
vs_instance_countGaugeInstance countCategory Values:
"current"
vs_avg_rttGaugeAverage time to process each request in millisecondsTitleRegionID
ServerName
ServerName - Virtual Server Name
vs_qpsGaugeRequests processed per second
vs_ingress_trafficCounterIngress network traffic in the last minute(Bytes)
vs_egress_trafficCounterEgress network traffic in the last minute(Bytes)
vs_crash_countCounterCount of virtual server crashes in the last minute
vs_url_avg_rttGaugeAverage time to process each request in millisecondsTitleRegionID
ServerName
URL
URL - URL path in request
vs_url_qpsGaugeRequests processed per second
vs_url_ingress_trafficCounterIngress network traffic in the last minute(Bytes)
vs_url_egress_trafficCounterEgress network traffic in the last minute(Bytes)
vs_rtt_distributionCounterTime cost distribution of requests in the last minuteTitleRegionID
ServerName
Distribution
Distribution Values:
"0_50ms": Range[0ms, 50ms)
"50_100ms": Range[50ms, 100ms)
"100_200ms": Range[100ms, 200ms)
"200_500ms": Range[200ms, 500ms)
"500_1000ms": Range[500ms, 1000ms)
"1000_3000ms": Range[1000ms, 3000ms)
"3000_5000ms": Range[3000ms, 5000ms)
"5000_ms": Range[5000ms, ∞)
vs_status_code_distributionCounterStatus code distribution of requests in the last minuteDistribution Values: "0xx" / "1xx" / "200" / "2xx" / "3xx" / "4xx" / "5xx"
vs_url_rtt_distributionCounterTime cost distribution of requests in the last minuteTitleRegionID
ServerName
Distribution
URL
URL - URL path in request
Distribution values - Same to the metric "vs_rtt_distribution"
vs_url_status_code_distributionCounterStatus code distribution of requests in the last minuteDistribution values - Same to the metric "vs_status_code_distribution"
Title Filestitle_files_trafficCounterNetwork traffic for each natural hour(Bytes)TitleIDTitle ID in PGOS
PGOS APIapi_qpsGaugeQuantity of invokes PGOS API per secondTitleRegionID
Invoker
Service
Invoker values:
"client": request from game client
"server": request from game server or virtual server

Service values: "player_management", "social", "chatting", "battle_dshosting", "engagement_staticstics", "economy", "message_bus", "others"
api_error_countCounterError count of invokes PGOS API in the last minute