mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
parent
cc773ac199
commit
6fa7ad69fc
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue