You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/12/08 10:36:00 UTC

[jira] [Closed] (FLINK-20530) Invalid metric named `lastCheckpointExternalPath`

     [ https://issues.apache.org/jira/browse/FLINK-20530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-20530.
------------------------------------
    Resolution: Not A Problem

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)