mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
Merge pull request #13402 from prometheus/cut-2.49.1
Cut 2.49.1 with scrape q= bugfix.
This commit is contained in:
commit
9947cb2c17
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2.49.1 / 2024-01-15
|
||||||
|
|
||||||
|
* [BUGFIX] TSDB: Fixed a wrong `q=` value in scrape accept header #13313
|
||||||
|
|
||||||
## 2.49.0 / 2024-01-15
|
## 2.49.0 / 2024-01-15
|
||||||
|
|
||||||
* [FEATURE] Promtool: Add `--run` flag promtool test rules command. #12206
|
* [FEATURE] Promtool: Add `--run` flag promtool test rules command. #12206
|
||||||
|
|
|
@ -672,7 +672,7 @@ func acceptHeader(sps []config.ScrapeProtocol) string {
|
||||||
weight--
|
weight--
|
||||||
}
|
}
|
||||||
// Default match anything.
|
// Default match anything.
|
||||||
vals = append(vals, fmt.Sprintf("*/*;q=%d", weight))
|
vals = append(vals, fmt.Sprintf("*/*;q=0.%d", weight))
|
||||||
return strings.Join(vals, ",")
|
return strings.Join(vals, ",")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue