prometheus/client_golang — pull request #29 by bernerdschaefer (2013-09-11 15:26:14+00:00)
Title: Register copies the provided baseLabels

This ensures that you can pass the same base label set into multiple
Register() calls, e.g.:

labels := map[string]string{"key": "value"}
prometheus.Register("metric_1", "", labels, ...)
prometheus.Register("metric_2", "", labels, ...)