Update diagnostics.go (#7768)
ElasticsearchSettings: LiveIndexingBatchSize, BulkIndexingTimeWindowSeconds LdapSettings: EnableSync SamlSettings: EnableSyncWithLdap
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
d2cff9b77c
Коммит
ad82f07fb3
@@ -364,6 +364,7 @@ func (a *App) trackConfig() {
|
|||||||
|
|
||||||
SendDiagnostic(TRACK_CONFIG_LDAP, map[string]interface{}{
|
SendDiagnostic(TRACK_CONFIG_LDAP, map[string]interface{}{
|
||||||
"enable": *cfg.LdapSettings.Enable,
|
"enable": *cfg.LdapSettings.Enable,
|
||||||
|
"enable_sync": *cfg.LdapSettings.EnableSync,
|
||||||
"connection_security": *cfg.LdapSettings.ConnectionSecurity,
|
"connection_security": *cfg.LdapSettings.ConnectionSecurity,
|
||||||
"skip_certificate_verification": *cfg.LdapSettings.SkipCertificateVerification,
|
"skip_certificate_verification": *cfg.LdapSettings.SkipCertificateVerification,
|
||||||
"sync_interval_minutes": *cfg.LdapSettings.SyncIntervalMinutes,
|
"sync_interval_minutes": *cfg.LdapSettings.SyncIntervalMinutes,
|
||||||
@@ -392,6 +393,7 @@ func (a *App) trackConfig() {
|
|||||||
|
|
||||||
SendDiagnostic(TRACK_CONFIG_SAML, map[string]interface{}{
|
SendDiagnostic(TRACK_CONFIG_SAML, map[string]interface{}{
|
||||||
"enable": *cfg.SamlSettings.Enable,
|
"enable": *cfg.SamlSettings.Enable,
|
||||||
|
"enable_sync_with_ldap": *cfg.SamlSettings.EnableSyncWithLdap,
|
||||||
"verify": *cfg.SamlSettings.Verify,
|
"verify": *cfg.SamlSettings.Verify,
|
||||||
"encrypt": *cfg.SamlSettings.Encrypt,
|
"encrypt": *cfg.SamlSettings.Encrypt,
|
||||||
"isdefault_first_name_attribute": isDefault(*cfg.SamlSettings.FirstNameAttribute, model.SAML_SETTINGS_DEFAULT_FIRST_NAME_ATTRIBUTE),
|
"isdefault_first_name_attribute": isDefault(*cfg.SamlSettings.FirstNameAttribute, model.SAML_SETTINGS_DEFAULT_FIRST_NAME_ATTRIBUTE),
|
||||||
@@ -449,6 +451,9 @@ func (a *App) trackConfig() {
|
|||||||
"post_index_replicas": *cfg.ElasticsearchSettings.PostIndexReplicas,
|
"post_index_replicas": *cfg.ElasticsearchSettings.PostIndexReplicas,
|
||||||
"post_index_shards": *cfg.ElasticsearchSettings.PostIndexShards,
|
"post_index_shards": *cfg.ElasticsearchSettings.PostIndexShards,
|
||||||
"isdefault_index_prefix": isDefault(*cfg.ElasticsearchSettings.IndexPrefix, model.ELASTICSEARCH_SETTINGS_DEFAULT_INDEX_PREFIX),
|
"isdefault_index_prefix": isDefault(*cfg.ElasticsearchSettings.IndexPrefix, model.ELASTICSEARCH_SETTINGS_DEFAULT_INDEX_PREFIX),
|
||||||
|
"live_indexing_batch_size": *cfg.ElasticsearchSettings.LiveIndexingBatchSize,
|
||||||
|
"bulk_indexing_time_window_seconds": *cfg.ElasticsearchSettings.BulkIndexingTimeWindowSeconds,
|
||||||
|
"request_timeout_seconds": *cfg.ElasticsearchSettings.RequestTimeoutSeconds,
|
||||||
})
|
})
|
||||||
|
|
||||||
SendDiagnostic(TRACK_CONFIG_PLUGIN, map[string]interface{}{
|
SendDiagnostic(TRACK_CONFIG_PLUGIN, map[string]interface{}{
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user