snowflake-jdbc icon indicating copy to clipboard operation
snowflake-jdbc copied to clipboard

SNOW-1738854: TelemetryService sends messages but they do not appear in Snowflake's logs

Open illegalnumbers opened this issue 4 months ago • 0 comments

Please answer these questions before submitting your issue. In order to accurately debug the issue this information is required. Thanks!

  1. What version of JDBC driver are you using? 3.19.0

  2. What operating system and processor architecture are you using? alpine x64

  3. What version of Java are you using? 17

  4. 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();
  1. What did you expect to see?

this gets a telemetrySuccess response of true but I dont see anything in my account

  1. Can you set logging to DEBUG and collect the logs?

not immediately

illegalnumbers avatar Oct 15 '24 21:10 illegalnumbers