Commit de5c8622 authored by Jason Blais's avatar Jason Blais Committed by Carlos Tadeu Panato Junior
Browse files

Add EnablePublicChannelsMaterialization to diagnostics.go (#9495)

* Fix style error in diagnostics.go

* Add EnablePublicChannelsMaterialization to diagnostics.go

* Fix build error
parent a257d501
...@@ -309,14 +309,15 @@ func (a *App) trackConfig() { ...@@ -309,14 +309,15 @@ func (a *App) trackConfig() {
}) })
a.SendDiagnostic(TRACK_CONFIG_SQL, map[string]interface{}{ a.SendDiagnostic(TRACK_CONFIG_SQL, map[string]interface{}{
"driver_name": *cfg.SqlSettings.DriverName, "driver_name": *cfg.SqlSettings.DriverName,
"trace": cfg.SqlSettings.Trace, "trace": cfg.SqlSettings.Trace,
"max_idle_conns": *cfg.SqlSettings.MaxIdleConns, "max_idle_conns": *cfg.SqlSettings.MaxIdleConns,
"conn_max_lifetime_milliseconds": *cfg.SqlSettings.ConnMaxLifetimeMilliseconds, "conn_max_lifetime_milliseconds": *cfg.SqlSettings.ConnMaxLifetimeMilliseconds,
"max_open_conns": *cfg.SqlSettings.MaxOpenConns, "max_open_conns": *cfg.SqlSettings.MaxOpenConns,
"data_source_replicas": len(cfg.SqlSettings.DataSourceReplicas), "data_source_replicas": len(cfg.SqlSettings.DataSourceReplicas),
"data_source_search_replicas": len(cfg.SqlSettings.DataSourceSearchReplicas), "data_source_search_replicas": len(cfg.SqlSettings.DataSourceSearchReplicas),
"query_timeout": *cfg.SqlSettings.QueryTimeout, "query_timeout": *cfg.SqlSettings.QueryTimeout,
"enable_public_channels_materialization": *cfg.SqlSettings.EnablePublicChannelsMaterialization,
}) })
a.SendDiagnostic(TRACK_CONFIG_LOG, map[string]interface{}{ a.SendDiagnostic(TRACK_CONFIG_LOG, map[string]interface{}{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment