2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2021-08-20 20:09:39 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package agent
|
|
|
|
|
|
|
|
import "github.com/armon/go-metrics"
|
|
|
|
|
|
|
|
func (s *HTTPHandlers) nodeMetricsLabels() []metrics.Label {
|
|
|
|
return []metrics.Label{{Name: "node", Value: s.nodeName()}}
|
|
|
|
}
|