new_contents: from . import GraphTemplate
  
  
  class TcpTemplate(GraphTemplate):
      target_types = {
          'rate': {
              'match': '^servers\.(?P<server>[^\.]+)\.(?P<protocol>tcp)\.(?P<type>.*)$',
              'default_group_by': 'server',
              'default_graph_options': {'vtitle': 'per second'}
          }
      }
  
  # vim: ts=4 et sw=4:
  
subject: add tcp template