I'm trying to keep costs minimum and develop a good workflow from the start using telemetry purely for analytics.
The outcome of a single telemetry event seems to have a lot of unnecessary used character space which bloats the file size and cost, (if the 1kb to 1 tick rule applies here).
Is there any way to have just the data "key1" : "data1", "key2" : :data2"? I will include playerId or time myself if needed. I will then try and use this data on a simple analytics software/provider.
Would cloud script be better suited for this? Any examples to help if so greatly appreciated.
Here is the code I am using to send the event.
WriteEventsRequest request = new WriteEventsRequest(); List<EventContents> contentList = new List<EventContents>(); EventContents content = new EventContents(); //PlayFabAuthenticationContext context = new PlayFabAuthenticationContext(); content.Name = "telemetry_test"; content.EventNamespace = "custom"; content.Payload = dictionary; contentList.Add(content); request.Events = contentList; PlayFabEventsAPI.WriteTelemetryEvents(request, OnEventSend, OnError);
Thanks.