mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 15:16:42 +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
|
var swsToStart []*ScrapeWork
|
||||||
for _, sw := range sws {
|
for _, sw := range sws {
|
||||||
key := sw.key()
|
key := sw.key()
|
||||||
originalLabels := swsMap[key]
|
originalLabels, ok := swsMap[key]
|
||||||
if originalLabels != nil {
|
if ok {
|
||||||
if !*suppressDuplicateScrapeTargetErrors {
|
if !*suppressDuplicateScrapeTargetErrors {
|
||||||
logger.Errorf("skipping duplicate scrape target with identical labels; endpoint=%s, labels=%s; "+
|
logger.Errorf("skipping duplicate scrape target with identical labels; endpoint=%s, labels=%s; "+
|
||||||
"make sure service discovery and relabeling is set up properly; "+
|
"make sure service discovery and relabeling is set up properly; "+
|
||||||
|
|
Loading…
Reference in a new issue