You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wu-sheng (via GitHub)" <gi...@apache.org> on 2023/03/06 03:54:03 UTC

[GitHub] [skywalking] wu-sheng commented on issue #10485: [Bug] Some special Postgresql slow sql was not shown in Show statements

wu-sheng commented on issue #10485:
URL: https://github.com/apache/skywalking/issues/10485#issuecomment-1455399435

   > fluent-bit log:
   [{"date":1677836101.832795,"body":{"json":{"json":"{"statement":" 1404.043 ms statement: with "pg_sleep" as (select * from pg_sleep(1.4)) select * from "pg_sleep";","query_time":1404,"service":"postgresql::postgres:5432","id":"34bacb9e-aea6-6246-49e5-14ace3d4848c","layer":"POSTGRESQL","time":1677836101000}"}},"tags":{"data":[{"value":"SLOW_SQL","key":"LOG_KIND"}]},"service":"postgresql::postgres:5432","layer":"POSTGRESQL"}]
   [2023/03/03 17:36:44] [ info] [output:http:http.1] 10.255.13.133:12800, HTTP status=200
   
   This seems not a legal JSON. `"` should be represented as `\"` in the JSON AFAIK. 
   So, first of all, this could be expected, rather than a bug.
   
   Maybe need to enhance fluentd config? @yswdqz 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org