Skip to content

Commit

Permalink
add a comment explaining FeatureFlags struct
Browse files Browse the repository at this point in the history
  • Loading branch information
mchrome committed Mar 25, 2024
1 parent 8a74c71 commit 0876b24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ type Common struct {
FindCache cache.BytesCache `toml:"-" json:"-"`
}

// FeatureFlags contains feature flags that significantly change how gch responds to some requests
type FeatureFlags struct {
UseCarbonBehavior bool `toml:"use-carbon-behaviour" json:"use-carbon-behaviour" comment:"if true, prefers carbon's behaviour on how tags are treated"`
DontMatchMissingTags bool `toml:"dont-match-missing-tags" json:"dont-match-missing-tags" comment:"if true, seriesByTag terms containing '!=' or '!=~' operators will not match metrics that don't have the tag at all"`
Expand Down

0 comments on commit 0876b24

Please sign in to comment.