Java: Convert telemetry queries to summary metrics

Use the support for summary metrics with messages that'll be in the next
version of the CodeQL CLI.
This commit is contained in:
Henry Mercer
2021-12-15 17:59:01 +00:00
parent b53e3499cb
commit 5696146179
5 changed files with 9 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
* @name External libraries
* @description A list of external libraries used in the code
* @kind metric
* @metricType callable
* @tags summary
* @id java/telemetry/external-libs
*/

View File

@@ -1,9 +1,9 @@
/**
* @name Supported sinks in external libraries
* @description A list of 3rd party APIs detected as sinks. Excludes test and generated code.
* @id java/telemetry/supported-external-api-sinks
* @kind metric
* @metricType callable
* @tags summary
* @id java/telemetry/supported-external-api-sinks
*/
import java

View File

@@ -1,9 +1,9 @@
/**
* @name Supported sources in external libraries
* @description A list of 3rd party APIs detected as sources. Excludes test and generated code.
* @id java/telemetry/supported-external-api-sources
* @kind metric
* @metricType callable
* @tags summary
* @id java/telemetry/supported-external-api-sources
*/
import java

View File

@@ -1,9 +1,9 @@
/**
* @name Supported sinks in external libraries
* @description A list of 3rd party APIs detected as sinks. Excludes test and generated code.
* @id java/telemetry/supported-external-api-taint
* @kind metric
* @metricType callable
* @tags summary
* @id java/telemetry/supported-external-api-taint
*/
import java

View File

@@ -1,9 +1,9 @@
/**
* @name Usage of unsupported APIs coming from external libraries
* @description A list of 3rd party APIs used in the codebase. Excludes test and generated code.
* @id java/telemetry/unsupported-external-api
* @kind metric
* @metricType callable
* @tags summary
* @id java/telemetry/unsupported-external-api
*/
import java