10 lines
199 B
Go
10 lines
199 B
Go
// +build !consulent
|
|
|
|
package agent
|
|
|
|
import "github.com/armon/go-metrics"
|
|
|
|
func (s *HTTPHandlers) nodeMetricsLabels() []metrics.Label {
|
|
return []metrics.Label{{Name: "node", Value: s.nodeName()}}
|
|
}
|