func Push(result string, endpoint string) error {
	entries := strings.Split(result, "\\n")
	for _, entry := range entries {
		item := strings.Split(entry, " ")
		if len(item) < 3 {
			return errors.New("the data format does not meet the requirements")
		}
		err := pushEntry(item, endpoint)
		if err != nil {
			return err
		}
	}
	return nil
}
Push the test results to the pushGateway, the data format needs to meet the following format:
"TestIndex TestIndexValue lables{key1=value1,key2=value2...}"
Like: "QPS 1000 job=nginx,testingNode=172.31.205.50..."
package push
import (
	"fmt"
	"strconv"
	"strings"
	"github.com/pkg/errors"
	"github.com/prometheus/client_golang/prometheus"
	propush "github.com/prometheus/client_golang/prometheus/push"
)