File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import (
18
18
"database/sql"
19
19
"errors"
20
20
"fmt"
21
+ "gopkg.in/alecthomas/kingpin.v2"
21
22
"gopkg.in/yaml.v2"
22
23
"io/ioutil"
23
24
"math"
@@ -118,12 +119,11 @@ type Mapping map[string]MappingOptions
118
119
119
120
// nolint: golint
120
121
type UserQuery struct {
121
- Query string `yaml:"query"`
122
- Metrics []Mapping `yaml:"metrics"`
123
- BreakingChanges []BreakingChanges `yaml:"breakingChanges"`
124
- Master bool `yaml:"master"` // Querying only for master database
125
- CacheSeconds uint64 `yaml:"cache_seconds"` // Number of seconds to cache the namespace result metrics for.
126
- RunOnServer string `yaml:"runonserver"` // Querying to run on which server version
122
+ Query string `yaml:"query"`
123
+ Metrics []Mapping `yaml:"metrics"`
124
+ Master bool `yaml:"master"` // Querying only for master database
125
+ CacheSeconds uint64 `yaml:"cache_seconds"` // Number of seconds to cache the namespace result metrics for.
126
+ RunOnServer string `yaml:"runonserver"` // Querying to run on which server version
127
127
}
128
128
129
129
// nolint: golint
You can’t perform that action at this time.
0 commit comments