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" )
Variables ¶
List contains the list of all cadence services
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 // EnableReadVisibilityFromPinot is the read mode of visibility EnableReadVisibilityFromPinot 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:"-"` }
Config is a subset of the service dynamic config for single service
Click to show internal directories.
Click to hide internal directories.