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...@apache.org on 2024/04/29 04:33:52 UTC

(skywalking-showcase) branch main updated: fixing time bug in fluent bit lua script (#169)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git


The following commit(s) were added to refs/heads/main by this push:
     new 959d523  fixing time bug in fluent bit lua script (#169)
959d523 is described below

commit 959d5234db52a444cdc0943e59ebf113cd45d5ef
Author: azibhassan <az...@gmail.com>
AuthorDate: Mon Apr 29 00:33:47 2024 -0400

    fixing time bug in fluent bit lua script (#169)
---
 .../kubernetes/templates/feature-postgresql-monitor/fluent-bit.yaml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy/platform/kubernetes/templates/feature-postgresql-monitor/fluent-bit.yaml b/deploy/platform/kubernetes/templates/feature-postgresql-monitor/fluent-bit.yaml
index b58f0a0..7d0da79 100644
--- a/deploy/platform/kubernetes/templates/feature-postgresql-monitor/fluent-bit.yaml
+++ b/deploy/platform/kubernetes/templates/feature-postgresql-monitor/fluent-bit.yaml
@@ -65,7 +65,7 @@ data:
         arr = split(log,"\n")
         re1 = {}
 
-        re1["time"] = os.time()
+        re1["time"] = os.time() * 1000
 
         re1["layer"] = "POSTGRESQL"
         record["layer"] = "POSTGRESQL"