You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by sn...@apache.org on 2023/01/18 20:20:52 UTC

[pinot] branch master updated: Add RealtimeIngestionDelayMs metric to JMX exporter (#10134)

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

snlee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new df66d83eed Add RealtimeIngestionDelayMs metric to JMX exporter (#10134)
df66d83eed is described below

commit df66d83eeda85d8c130a320d913665b95126ea1c
Author: Navina Ramesh <na...@apache.org>
AuthorDate: Wed Jan 18 12:20:45 2023 -0800

    Add RealtimeIngestionDelayMs metric to JMX exporter (#10134)
    
    * Add RealtimeIngestionDelayMs to JMX exporter
    
    * test with increased timeout for trivy
---
 .github/workflows/pinot_vuln_check.yml                             | 1 +
 docker/images/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml | 7 +++++++
 .../images/pinot/etc/jmx_prometheus_javaagent/configs/server.yml   | 7 +++++++
 3 files changed, 15 insertions(+)

diff --git a/.github/workflows/pinot_vuln_check.yml b/.github/workflows/pinot_vuln_check.yml
index f3c8c3e084..937c9630c9 100644
--- a/.github/workflows/pinot_vuln_check.yml
+++ b/.github/workflows/pinot_vuln_check.yml
@@ -61,6 +61,7 @@ jobs:
           output: 'trivy-results.sarif'
           vuln-type: 'os,library'
           severity: 'CRITICAL,HIGH'
+          timeout: '10'
       - name: Upload Trivy scan results to GitHub Security tab
         uses: github/codeql-action/upload-sarif@v2
         with:
diff --git a/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml b/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml
index 2185c1a0c3..0108c4790c 100644
--- a/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml
+++ b/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml
@@ -446,6 +446,13 @@ rules:
     table: "$1"
     tableType: "$2"
     partition: "$3"
+- pattern: "\"org.apache.pinot.common.metrics\"<type=\"ServerMetrics\", name=\"pinot.server.realtimeIngestionDelayMs.(\\w+)_(\\w+)\\.(\\w+)\"><>(\\w+)"
+  name: "pinot_server_realtimeIngestionDelayMs_$4"
+  cache: true
+  labels:
+    table: "$1"
+    tableType: "$2"
+    partition: "$3"
 
 # Pinot Minions
 - pattern: "\"org.apache.pinot.common.metrics\"<type=\"MinionMetrics\", name=\"pinot.minion.numberOfTasks.(\\w+)_(\\w+)\"><>(\\w+)"
diff --git a/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/server.yml b/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/server.yml
index 211c859f39..b7b90770e2 100644
--- a/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/server.yml
+++ b/docker/images/pinot/etc/jmx_prometheus_javaagent/configs/server.yml
@@ -66,6 +66,13 @@ rules:
     tableType: "$2"
     topic: "$3"
     partition: "$4"
+- pattern: "\"org.apache.pinot.common.metrics\"<type=\"ServerMetrics\", name=\"pinot.server.realtimeIngestionDelayMs.(\\w+)_(\\w+)\\.(\\w+)\"><>(\\w+)"
+  name: "pinot_server_realtimeIngestionDelayMs_$4"
+  cache: true
+  labels:
+    table: "$1"
+    tableType: "$2"
+    partition: "$3"
 - pattern: "\"org.apache.pinot.common.metrics\"<type=\"ServerMetrics\", name=\"pinot.server.llcSimultaneousSegmentBuilds\"><>(\\w+)"
   name: "pinot_server_llcSimultaneousSegmentBuilds_$1"
   cache: true


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org