Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Frontend is the name of the frontend service Frontend = "cadence-frontend" // History is the name of the history service History = "cadence-history" // Matching is the name of the matching service Matching = "cadence-matching" // Worker is the name of the worker service Worker = "cadence-worker" // ShardManager is the name of the shard manager service ShardManager = "cadence-shard-manager" )
Variables ¶
View Source
var List = []string{Frontend, History, Matching, Worker, ShardManager}
List contains the list of all cadence services
ListWithRing contains the list of all cadence services that has a hash ring
Functions ¶
func GetMetricsServiceIdx ¶ added in v0.5.0
func GetMetricsServiceIdx(serviceName string, logger log.Logger) metrics.ServiceIdx
GetMetricsServiceIdx returns the metrics name
func ShortNames ¶ added in v0.24.0
Types ¶
type Config ¶ added in v0.24.0
type Config struct { PersistenceMaxQPS dynamicconfig.IntPropertyFn PersistenceGlobalMaxQPS dynamicconfig.IntPropertyFn ThrottledLoggerMaxRPS dynamicconfig.IntPropertyFn // EnableReadVisibilityFromES is the read mode of visibility EnableReadVisibilityFromES dynamicconfig.BoolPropertyFnWithDomainFilter // AdvancedVisibilityWritingMode is the write mode of visibility AdvancedVisibilityWritingMode dynamicconfig.StringPropertyFn // AdvancedVisibilityWritingMode is the write mode of visibility during migration AdvancedVisibilityMigrationWritingMode dynamicconfig.StringPropertyFn // EnableReadVisibilityFromPinot is the read mode of visibility EnableReadVisibilityFromPinot dynamicconfig.BoolPropertyFnWithDomainFilter // EnableVisibilityDoubleRead is to enable double read for a latency comparison EnableVisibilityDoubleRead dynamicconfig.BoolPropertyFnWithDomainFilter // EnableLogCustomerQueryParameter is to enable log customer parameters EnableLogCustomerQueryParameter dynamicconfig.BoolPropertyFnWithDomainFilter // configs for db visibility EnableDBVisibilitySampling dynamicconfig.BoolPropertyFn `yaml:"-" json:"-"` EnableReadDBVisibilityFromClosedExecutionV2 dynamicconfig.BoolPropertyFn `yaml:"-" json:"-"` WriteDBVisibilityOpenMaxQPS dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"` WriteDBVisibilityClosedMaxQPS dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"` DBVisibilityListMaxQPS dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"` // configs for es visibility ESIndexMaxResultWindow dynamicconfig.IntPropertyFn `yaml:"-" json:"-"` ValidSearchAttributes dynamicconfig.MapPropertyFn `yaml:"-" json:"-"` // deprecated: never read from, all ES reads and writes erroneously use PersistenceMaxQPS ESVisibilityListMaxQPS dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"` IsErrorRetryableFunction backoff.IsRetryable }
Config is a subset of the service dynamic config for single service
Click to show internal directories.
Click to hide internal directories.