mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
parent
841647643a
commit
f05cddd2fc
@ -324,8 +324,8 @@ func (sg *scraperGroup) update(sws []*ScrapeWork) {
|
||||
var swsToStart []*ScrapeWork
|
||||
for _, sw := range sws {
|
||||
key := sw.key()
|
||||
originalLabels := swsMap[key]
|
||||
if originalLabels != nil {
|
||||
originalLabels, ok := swsMap[key]
|
||||
if ok {
|
||||
if !*suppressDuplicateScrapeTargetErrors {
|
||||
logger.Errorf("skipping duplicate scrape target with identical labels; endpoint=%s, labels=%s; "+
|
||||
"make sure service discovery and relabeling is set up properly; "+
|
||||
|
Loading…
Reference in New Issue
Block a user