[
https://issues.apache.org/jira/browse/FLINK-20530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245806#comment-17245806
]
Chesnay Schepler edited comment on FLINK-20530 at 12/8/20, 10:36 AM:
---------------------------------------------------------------------
It's not invalid. The gauge metric allows any type to be exposed, and the
support is naturally dependent by the actual backends. For example, with JMX
you can access this metric without a problem.
Note that there is FLINK-6053 to change this and limit gauges to numbers, but
this will have to wait until 2.0 .
was (Author: zentol):
It's not invalid. The gauge metric allows any type to be exposed, and the
support is naturally supported by the actual backends.
Note that there is FLINK-6053 to change this and limit gauges to numbers, but
this will have to wait until 2.0 .
> Invalid metric named `lastCheckpointExternalPath`
> --------------------------------------------------
>
> Key: FLINK-20530
> URL: https://issues.apache.org/jira/browse/FLINK-20530
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Metrics
> Affects Versions: 1.11.0
> Reporter: xiaozilong
> Priority: Major
>
> The metric `lastCheckpointExternalPath` invalid because of
> `PrometheusPushGatewayReporter` not support the gauge of string type.
> {code:java}
> o.a.flink.metrics.prometheus.PrometheusPushGatewayReporter - Invalid type
> for Gauge
> org.apache.flink.runtime.checkpoint.CheckpointStatsTracker$LatestCompletedCheckpointExternalPathGauge@782aad92:
> java.lang.String, only number types and booleans are supported by this
> reporter.
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)