docs: def setup_influxdb(self, config):
          """Configure the InfluxDB module for measurement submission.
  
          :param dict config: The InfluxDB configuration stanza
  
          """
          base_tags = {
              'version': self.consumer_version
          }
          measurement = self.config.get('influxdb_measurement',
                                        os.environ.get('SERVICE'))
          if measurement != self.consumer_name:
              base_tags['consumer'] = self.consumer_name
          for key in {'ENVIRONMENT', 'SERVICE'}:
              if key in os.environ:
                  base_tags[key.lower()] = os.environ[key]
          influxdb.install(
              '{}://{}:{}/write'.format(
                  config.get('scheme',
                             os.environ.get('INFLUXDB_SCHEME', 'http')),
                  config.get('host',
                             os.environ.get('INFLUXDB_HOST', 'localhost')),
                  config.get('port', os.environ.get('INFLUXDB_PORT', '8086'))
              ),
              config.get('user', os.environ.get('INFLUXDB_USER')),
              config.get('password', os.environ.get('INFLUXDB_PASSWORD')),
              base_tags=base_tags)
          return config.get('database', 'rejected'), measurement