def get_arguments(self):
ApiCli.get_arguments(self)<EOL>if self.args.metricName is not None:<EOL><INDENT>self.metricName = self.args.metricName<EOL><DEDENT>if self.args.measurement is not None:<EOL><INDENT>self.measurement = self.args.measurement<EOL><DEDENT>if self.args.source is not None:<EOL><INDENT>self.source = self.args.source<EOL><DEDENT>else:<EOL><INDENT>self.source = socket.gethostname()<EOL><DEDENT>if self.args.timestamp is not None:<EOL><INDENT>self.timestamp = int(self.args.timestamp)<EOL><DEDENT>m = {'<STR_LIT>': self.metricName,<EOL>'<STR_LIT>': self.measurement}<EOL>if self.source is not None:<EOL><INDENT>m['<STR_LIT:source>'] = self.source<EOL><DEDENT>if self.timestamp is not None:<EOL><INDENT>m['<STR_LIT>'] = int(self.timestamp)<EOL><DEDENT>self._process_properties()<EOL>if self._properties is not None:<EOL><INDENT>m['<STR_LIT>'] = self._properties<EOL><DEDENT>self.data = json.dumps(m, sort_keys=True)<EOL>self.headers = {'<STR_LIT:Content-Type>': '<STR_LIT:application/json>', "<STR_LIT>": "<STR_LIT:application/json>"}<EOL>
Extracts the specific arguments of this CLI