snowflake-jdbc
snowflake-jdbc copied to clipboard
SNOW-1738854: TelemetryService sends messages but they do not appear in Snowflake's logs
Please answer these questions before submitting your issue. In order to accurately debug the issue this information is required. Thanks!
-
What version of JDBC driver are you using? 3.19.0
-
What operating system and processor architecture are you using? alpine x64
-
What version of Java are you using? 17
-
What did you do?
Sending a message using the logging for the telemetry service results in a true
response from the Future
but no message in in my Snowflake account.
telemetry.addLogToBatch(TelemetryUtil.buildJobData(msg));
My message format is as follows
{\"timestamp\":\"1729025764888\",\"message\":{\"source\":\"string_with_underscore\",\"type\":\"string_with_underscore\",\"data\":{\"app_name\":\"string_with_underscore\",\"task_id\":\"0\",\"start_time\":1729025764791},\"version\":\"string_with_underscore\"}}
boolean telemetrySuccess = telemetry.sendBatchAsync().get();
- What did you expect to see?
this gets a telemetrySuccess
response of true
but I dont see anything in my account
- Can you set logging to DEBUG and collect the logs?
not immediately