-
Notifications
You must be signed in to change notification settings - Fork 40
Question: How do we send SQL queries? #11
Comments
There are multiple telemetry types as defined in the contract classes, all of them support properties which are custom defined, that is, you define the property and responsible for tracking its value. |
The rdd (RemoteDependencyData) is not officially supported by Ruby SDK yet, not exposed directly via TelemetryClient. You could manually create an rdd and send to AI using the telemetry channel, what you've done I think. However there are two issues while processing rdd:
You can work around the above issues with following changes:
What do you mean by 'Time', the time stamp making the sql query, execution time, or something else? For query, yes, you can use the custom property to track it. Thanks, |
@jngli exactly — the SQL query execution time. Thank for all the other info, btw. |
The 'value' field is supposed to use for tracking execution time (i.e., dependency duration used in UI). |
@jngli ok perfect, thank you! |
@dkullmann the sdk is updated with latest schema where the dependency kind issue should be fixed. |
@jngli hello, do you know how we can send an SQL query?
I see the telemetry type is a metric, but I don't know what the custom properties are that should be included.
The text was updated successfully, but these errors were encountered: