[
https://issues.apache.org/jira/browse/FLINK-19468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boyang Jerry Peng updated FLINK-19468:
--------------------------------------
Description:
If I submit a Flink job in which the stream name has a "+" character, the
metrics returned for the stream is always empty. Consider the following
example:
```
env.addSource(new TestSource()).name("testing + plus");
```
If I try to get the metrics
```
$ curl
http://localhost:8081/jobs/5d4f28a221b2e5762f8404398a462eb0/vertices/cbc357ccb763df2852fee8c4fc7d55f2/metrics?get=0.Source__testing_+_plus.numRecordsOut
[]
```
The metrics will always return empty. However if I remove the "+" from the
name of the stream. Metrics are returned non-empty
was:
If I submit a Flink job in which the stream name has a "+" character, the
metrics returned for the stream is always empty. Consider the following
example:
```
env.addSource(new TestSource()).name("testing + plus");
```
For example if the operator name is:
pulsar(url: pulsar+ssl://192.168.1.198:56014)
Metrics for an operator with the above name will always return empty.
> Metrics return empty when data stream / operator name contains "+"
> ------------------------------------------------------------------
>
> Key: FLINK-19468
> URL: https://issues.apache.org/jira/browse/FLINK-19468
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Affects Versions: 1.9.0, 1.9.2, 1.9.3, 2.0.0
> Reporter: Boyang Jerry Peng
> Assignee: Boyang Jerry Peng
> Priority: Major
> Labels: pull-request-available
>
> If I submit a Flink job in which the stream name has a "+" character, the
> metrics returned for the stream is always empty. Consider the following
> example:
> ```
> env.addSource(new TestSource()).name("testing + plus");
> ```
>
> If I try to get the metrics
> ```
> $ curl
> http://localhost:8081/jobs/5d4f28a221b2e5762f8404398a462eb0/vertices/cbc357ccb763df2852fee8c4fc7d55f2/metrics?get=0.Source__testing_+_plus.numRecordsOut
> []
> ```
> The metrics will always return empty. However if I remove the "+" from the
> name of the stream. Metrics are returned non-empty
--
This message was sent by Atlassian Jira
(v8.3.4#803005)