SupportBundles: Fix collector typos and change defaults (#61850)

fix collector typos and change defaults
This commit is contained in:
Jo 2023-01-20 16:33:29 +00:00 committed by GitHub
parent cef15873d6
commit 7a9793ec0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -86,7 +86,7 @@ func settingsCollector(settings setting.Provider) supportbundles.Collector {
return supportbundles.Collector{
UID: "settings",
DisplayName: "Settings",
Description: "Settings for grafana instance",
Description: "Settings of the Grafana instance",
IncludedByDefault: false,
Default: true,
Fn: func(ctx context.Context) (*supportbundles.SupportItem, error) {
@ -108,7 +108,7 @@ func usageStatesCollector(stats usagestats.Service) supportbundles.Collector {
return supportbundles.Collector{
UID: "usage-stats",
DisplayName: "Usage statistics",
Description: "Usage statistic for grafana instance",
Description: "Usage statistics of the Grafana instance",
IncludedByDefault: false,
Default: true,
Fn: func(ctx context.Context) (*supportbundles.SupportItem, error) {
@ -133,7 +133,7 @@ func pluginInfoCollector(pluginStore plugins.Store, pluginSettings pluginsetting
return supportbundles.Collector{
UID: "plugins",
DisplayName: "Plugin information",
Description: "Plugin information for grafana instance",
Description: "Plugin information for the Grafana instance",
IncludedByDefault: false,
Default: true,
Fn: func(ctx context.Context) (*supportbundles.SupportItem, error) {

View File

@ -67,7 +67,7 @@ func dbCollector(sql db.DB) supportbundles.Collector {
return supportbundles.Collector{
UID: "db",
Description: "Database information and migration log",
DisplayName: "Database and Migration information",
DisplayName: "Database and migration information",
IncludedByDefault: false,
Default: true,
Fn: collectorFn,

View File

@ -38,10 +38,10 @@ func userCollector(users user.Service) supportbundles.Collector {
return supportbundles.Collector{
UID: "users",
Description: "User information",
DisplayName: "A list of users of the Grafana instance",
DisplayName: "User information",
Description: "List users belonging to the Grafana instance",
IncludedByDefault: false,
Default: true,
Default: false,
Fn: collectorFn,
}
}