def METHOD_NAME(tags, values, timestamp):
	# First escape tags and values
	tags = escape_tags(tags)
	values = escape_values(values)
	# Then combine the tags and then values
	tags_string = ",".join(["{}={}".format(tk, tv) for tk, tv in tags.items()])
	field_set = ",".join([get_field(value_name, value) for value_name, value in values.items()])
	return tags_string + " " + field_set + " " + str(int(timestamp * 1e9))