Home
last modified time | relevance | path

Searched refs:pushURL (Results 1 – 25 of 71) sorted by relevance

123

/dports/net-mgmt/adguard-exporter/adguard-exporter-1.14/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/net-mgmt/nsd_exporter/nsd_exporter-0.1.0/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Dpush.go74 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
75 if !strings.Contains(pushURL, "://") {
76 pushURL = "http://" + pushURL
78 if strings.HasSuffix(pushURL, "/") {
79 pushURL = pushURL[:len(pushURL)-1]
95 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
120 req, err := http.NewRequest(method, pushURL, buf)
132 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/www/beehive/beehive-0.4.0/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/misc/concourse/vault-bdd38fca2cff/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/net-mgmt/unbound_exporter/unbound_exporter-0.3/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/weaveworks/promrus/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Dpush.go74 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
75 if !strings.Contains(pushURL, "://") {
76 pushURL = "http://" + pushURL
78 if strings.HasSuffix(pushURL, "/") {
79 pushURL = pushURL[:len(pushURL)-1]
95 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
120 req, err := http.NewRequest(method, pushURL, buf)
132 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/security/certmgr/certmgr-3.0.3/vendor/github.com/prometheus/client_golang/client_golang-0.9.4/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/hashicorp/vault/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/sysutils/rest-server/rest-server-0.10.0/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Dpush.go74 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
75 if !strings.Contains(pushURL, "://") {
76 pushURL = "http://" + pushURL
78 if strings.HasSuffix(pushURL, "/") {
79 pushURL = pushURL[:len(pushURL)-1]
95 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
120 req, err := http.NewRequest(method, pushURL, buf)
132 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/devel/etcd33/etcd-3.3.23/vendor/github.com/prometheus/client_golang/client_golang-5cec1d0429b0/prometheus/push/
H A Dpush.go74 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
75 if !strings.Contains(pushURL, "://") {
76 pushURL = "http://" + pushURL
78 if strings.HasSuffix(pushURL, "/") {
79 pushURL = pushURL[:len(pushURL)-1]
95 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
120 req, err := http.NewRequest(method, pushURL, buf)
132 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/net-mgmt/ping_exporter/ping_exporter-0.44/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Dpush.go74 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
75 if !strings.Contains(pushURL, "://") {
76 pushURL = "http://" + pushURL
78 if strings.HasSuffix(pushURL, "/") {
79 pushURL = pushURL[:len(pushURL)-1]
95 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
120 req, err := http.NewRequest(method, pushURL, buf)
132 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/open-policy-agent/opa/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Dpush.go74 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
75 if !strings.Contains(pushURL, "://") {
76 pushURL = "http://" + pushURL
78 if strings.HasSuffix(pushURL, "/") {
79 pushURL = pushURL[:len(pushURL)-1]
95 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
120 req, err := http.NewRequest(method, pushURL, buf)
132 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/audio/visp-go/visp-2585747/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Ddeprecated.go64 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
65 if !strings.Contains(pushURL, "://") {
66 pushURL = "http://" + pushURL
68 if strings.HasSuffix(pushURL, "/") {
69 pushURL = pushURL[:len(pushURL)-1]
85 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
110 req, err := http.NewRequest(method, pushURL, buf)
122 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/sysutils/sensu-go/sensu-go-5.11.1/vendor/github.com/prometheus/client_golang/prometheus/push/
H A Dpush.go74 func push(job string, grouping map[string]string, pushURL string, g prometheus.Gatherer, method str…
75 if !strings.Contains(pushURL, "://") {
76 pushURL = "http://" + pushURL
78 if strings.HasSuffix(pushURL, "/") {
79 pushURL = pushURL[:len(pushURL)-1]
95 pushURL = fmt.Sprintf("%s/metrics/job/%s", pushURL, strings.Join(urlComponents, "/"))
120 req, err := http.NewRequest(method, pushURL, buf)
132 …return fmt.Errorf("unexpected status code %d while pushing to %s: %s", resp.StatusCode, pushURL, b…
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/swarmkit/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/sysutils/docker/docker-ce-18.09.5/components/cli/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/security/vault/vault-1.8.2/vendor/github.com/docker/docker/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/docker/docker/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/docker/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/vendor/github.com/prometheus/client_golang/prometheus/
H A Dregistry.go340 func (r *registry) Push(job, instance, pushURL, method string) error {
341 if !strings.Contains(pushURL, "://") {
342 pushURL = "http://" + pushURL
344 if strings.HasSuffix(pushURL, "/") {
345 pushURL = pushURL[:len(pushURL)-1]
347 pushURL = fmt.Sprintf("%s/metrics/jobs/%s", pushURL, url.QueryEscape(job))
349 pushURL += "/instances/" + url.QueryEscape(instance)
359 req, err := http.NewRequest(method, pushURL, buf)
370 return fmt.Errorf("unexpected status code %d while pushing to %s", resp.StatusCode, pushURL)
/dports/devel/hub/hub-2.14.2/fixtures/
H A Dtest_repo.go17 func (r *TestRepo) AddRemote(name, url, pushURL string) {
22 if pushURL != "" {
23 set := cmd.New("git").WithArgs("remote", "set-url", "--push", name, pushURL)

123