Is it possible to find out how much a specific CloudScript or Azure Functions call costs?
For example, I have this json data from the PlayStream event player_executed_cloudscript:
{ "PlayFabEnvironment": { "Application": "logicserver", "Vertical": "master", "Commit": "22da35e", "Cloud": "main" }, "EventNamespace": "com.playfab", "CloudScriptExecutionResult": { "FunctionName": "GetPlayerAvatar", "ExecutionTimeSeconds": 0.0539539, "ProcessorTimeSeconds": 0.0, "MemoryConsumedBytes": 15240, "HttpRequestsIssued": 0, "APIRequestsIssued": 1, "FunctionResult": { "callsuccessful": true, "avatarnumber": "6", "errorresult": null }, "Revision": 71, "Logs": [ { "Message": "avatar code is: 6", "Level": "Info" } ] },
Is it possible to calculate the costs with these informations?
I have read this article: https://docs.microsoft.com/en-us/gaming/playfab/features/pricing/meters/meters
But I don't understand how to calculate the costs for CloudScript or Azure Functions calls myself.
How can I calculate the costs for CloudScript?
How can I calculate the costs for Azure Functions?