question

davidm avatar image
davidm asked

VM Metrics REST API

Hello,

is there a rest API available for VM Metrics, I understand the feature is in preview, it would be fab if there was a REST API endpoint for it.

I have searched https://learn.microsoft.com/en-us/gaming/playfab/api-references/?view=playfab-rest but alas can not find anything

apis
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

If you want to enable the VM metrics, you can set the field InstrumentationConfiguration’s property "IsEnabled" to true in the PlayFab Multiplayer Servers API like : CreateBuildWithManagedContainer or CreateBuildWithProcessBasedServer. For more info, please refer to VM Metrics (preview) - PlayFab | Microsoft Learn. After you enable the VM metrics feature for a Build, you can view the VM metrics via Game Manager. Currently, PlayFab does not provide a rest API to view VM Metrics. If you want this feature, you can post a feature request for it.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.