Skip to content

Commit

Permalink
Merge pull request #1 from zjj2wry/metrics_name_should_be_not_dynamic
Browse files Browse the repository at this point in the history
metrics name should be not dynamic
  • Loading branch information
zjj2wry authored Sep 2, 2020
2 parents d3e56df + de15890 commit c790f23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
export GOBIN := $(PWD)/bin
export PATH := $(GOBIN):$(PATH)
export INSTALL_FLAG=
export TAG=0.3.0
export TAG=0.4.0

DOCKER_IMAGE = aws-limits-exporter
DOCKER_REPO = danielfm
DOCKER_REPO = gcr.io/pingcap-public

# Determine which OS.
OS?=$(shell uname -s | tr A-Z a-z)
Expand Down
2 changes: 1 addition & 1 deletion core/support.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func (e *SupportExporter) Collect(ch chan<- prometheus.Metric) {

func newServerMetric(region, subSystem, metricName, docString string, labels []string) *prometheus.Desc {
return prometheus.NewDesc(
prometheus.BuildFQName("aws", subSystem, metricName),
prometheus.BuildFQName("aws", "quota", metricName),
docString, labels, prometheus.Labels{"region": region},
)
}

0 comments on commit c790f23

Please sign in to comment.