cpp_client_telemetry icon indicating copy to clipboard operation
cpp_client_telemetry copied to clipboard

How to set cV, ingest PartA extension, user#authId through SDK?

Open TedaLIEz opened this issue 2 years ago • 6 comments
trafficstars

Hello team,

I am trying to compare the telemetry data before and after migrating to the 1DS SDK. I have noticed that some properties are missing after the migration, specifically:

  1. Record#cV
  2. Record#ingest
  3. Record#user#authId

I am wondering if it is possible for the Android client to set these properties through the API. Although these properties are defined in the bond schema, I have not been able to assign them. Can you please provide me with some guidance on how to do this?

TedaLIEz avatar Jun 28 '23 02:06 TedaLIEz

@lalitb @anod friendly ping for this issue, could you please help?

TedaLIEz avatar Jun 29 '23 02:06 TedaLIEz

We don't use OneCollector, I'm not familiar with its properties

anod avatar Jul 02 '23 12:07 anod

@anod @lalitb I was wondering if you're familiar with the Common Schema. We're trying to align the data before and after using the 1DS SDK to minimize the impact.

Currently, we're using the old CLL library as our telemetry framework, which sends data to the Vortex in CS 2.1 format. We're planning to emit events via 1DS to the Aria in CS 4.0 format.

If you have any knowledge or resources related to this, please let me know. Thank you!

TedaLIEz avatar Jul 03 '23 09:07 TedaLIEz

@TedaLIEz -

If you are trying to set the authId for the User part A extension - it should be accessible via custom decorator concept. Search API examples for "Decorator".

To set the cv value, you can use event_name.SetProperty(CorrelationVector::PropertyName, corr_vec_value);

lalitb avatar Jul 03 '23 21:07 lalitb

@lalitb Yes, I've noticed this CorrelationVector::PropertyName and I tried to set this property with SetProperty in Kotlin wrapper API, but I failed to get the value in the Aria via OneCollector endpoint. I'll try to reach out to the Aria support team for confirmation.

Another topic here is I don't see any code related to the extIngest in the record structure, do you have the plan to support this extension?

TedaLIEz avatar Jul 04 '23 03:07 TedaLIEz

And I don't find any API related to set authId in the EventProperties.

TedaLIEz avatar Jul 04 '23 03:07 TedaLIEz