class_docstr: A MetricGroup is a named container for metrics and further metric subgroups.
  
  Instances of this class can be used to register new metrics with Flink and to create a nested
  hierarchy based on the group names.
  
  A MetricGroup is uniquely identified by it's place in the hierarchy and name.
  
  .. versionadded:: 1.11.0
class_docstr_tok: ["A","MetricGroup","is","a","named","container","for","metrics","and","further","metric","subgroups",".","Instances","of","this","class","can","be","used","to","register","new","metrics","with","Flink","and","to","create","a","nested","hierarchy","based","on","the","group","names",".","A","MetricGroup","is","uniquely","identified","by","it","'s","place","in","the","hierarchy","and","name",".","..","versionadded",":",":","1.11.0"]
docstr: Registers a new `Counter` with Flink.
  
  .. versionadded:: 1.11.0
docstr_tok: ["Registers","a","new","`","Counter","`","with","Flink",".","..","versionadded",":",":","1.11.0"]
code: def counter(self, name: str) -> "Counter":
      """
      Registers a new `Counter` with Flink.
  
      .. versionadded:: 1.11.0
      """
      pass
  
imports: from abc import ABC, abstractmethod
  from typing import Callable
label_desc: Use image node_id 2 for calling the MetricGroup obj's underlying member method code with example usage: obj.counter(name) without return types