From 7cf125c715a6430f5ff7c2f98574ae1a81694d08 Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Thu, 8 Feb 2024 14:43:04 -0500 Subject: [PATCH] updates --- scrape/manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/scrape/manager.go b/scrape/manager.go index e5bb311e01..b27d482b62 100644 --- a/scrape/manager.go +++ b/scrape/manager.go @@ -174,6 +174,7 @@ func (m *Manager) reload() { // model.NameValidationScheme = model.LegacyValidation // } // level.Info(m.logger).Log("msg", "validation scheme", "scheme", model.NameValidationScheme, "arg", m.opts.UTF8Names) + // XXXXX the problem with this is that agent does not really use scrape.Options. Also too, this is like per-scrape not per-instance, so it's not really the right place for this at all. // if m.opts.NameEscapingScheme != "" { // model.NameEscapingScheme, err = model.ToEscapingScheme(m.opts.NameEscapingScheme) // if err != nil {