Merge pull request #16640 from tongjicoder/main

chore: fix some comments
pull/16642/head
Julius Volz 1 month ago committed by GitHub
commit e597a5af92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      promql/engine.go
  2. 2
      rules/manager.go
  3. 2
      web/ui/react-app/src/vendor/flot/jquery.flot.js

@ -3658,7 +3658,7 @@ func btos(b bool) float64 {
return 0
}
// changesSchema returns true whether the op operation changes the semantic meaning or
// changesMetricSchema returns true whether the op operation changes the semantic meaning or
// schema of the metric.
func changesMetricSchema(op parser.ItemType) bool {
switch op {

@ -485,7 +485,7 @@ type ConcurrentRules []int
// Its purpose is to bound the amount of concurrency in rule evaluations to avoid overwhelming the Prometheus
// server with additional query load. Concurrency is controlled globally, not on a per-group basis.
type RuleConcurrencyController interface {
// SplitGroupIntoBatches returns an ordered slice of of ConcurrentRules, which are batches of rules that can be evaluated concurrently.
// SplitGroupIntoBatches returns an ordered slice of ConcurrentRules, which are batches of rules that can be evaluated concurrently.
// The rules are represented by their index from the input rule group.
SplitGroupIntoBatches(ctx context.Context, group *Group) []ConcurrentRules

@ -429,7 +429,7 @@ Licensed under the MIT license.
//
// Each position after the first receives a clone of the original element.
//
// The idea is that that the width, height, and general 'identity' of the
// The idea is that the width, height, and general 'identity' of the
// text is constant no matter where it is placed; the placements are a
// secondary property.
//

Loading…
Cancel
Save