Hello. I need create own index for ES, but i can’t undertand why my config is wrong. I recieve error:
Unable to create file based dynamic config client, use no-op config client instead.",“error”:"failed to decode dynamic config yaml: unmarshal errors:\n line 38: cannot unmarshal !!map into dynamicconfig.constrainedValue
My full config
frontend.enableClientVersionCheck:
- value: true
constraints: {}
history.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.historyMgrNumConns:
- value: 10
constraints: {}
frontend.throttledLogRPS:
- value: 20
constraints: {}
history.historyMgrNumConns:
- value: 50
constraints: {}
history.defaultActivityRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
history.defaultWorkflowRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
system.advancedVisibilityWritingMode:
- value: "on"
constraints: {}
system.enableReadVisibilityFromES:
- value: true
constraints: {}
persistence:
advancedVisibilityStore: es-visibility
datastores:
es-visibility:
elasticsearch:
version: "v7"
url:
scheme: "http"
host: "elasticsearch:9200"
indices:
visibility: my_own_index_name