Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

with the query parameter get that accepts comma separated metric names, like the other APIs. This path is based on https://github.com/apache/flink/blob/7bebd2d9fac517c28afc24c0c034d77cfe2b43a6/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/dump/QueryScopeInfo.java#L234.

Response

Code Block
[
	{
		"id": "<source_name>.<metric_name1>"
 	},
	{
		"id": "<source_name>.<metric_name2>"
	},
	...
	
}]

This response is consistent with other APIs and extends from the same utility classes (AbstractMetricsHandler).

...