final case class MonitoringConfig(deadlockDetection: DeadlockDetectionConfig = DeadlockDetectionConfig(), health: Option[HealthConfig] = None, metrics: MetricsConfig = MetricsConfig(), delayLoggingThreshold: NonNegativeFiniteDuration = MonitoringConfig.defaultDelayLoggingThreshold, tracing: TracingConfig = TracingConfig(), logMessagePayloads: Option[Boolean] = None, logQueryCost: Option[QueryCostMonitoringConfig] = None, logSlowFutures: Boolean = false, healthDumpMetricFrequency: NonNegativeFiniteDuration = MonitoringConfig.defaultHealthDumpMetricFrequency, logging: LoggingConfig = LoggingConfig(), dumpNumRollingLogFiles: NonNegativeInt = MonitoringConfig.defaultDumpNumRollingLogFiles) extends LazyLogging with Product with Serializable
Configuration for metrics and tracing
- deadlockDetection
Should we regularly check our environment EC for deadlocks?
- health
Optional Health check to expose an http server to monitor is the canton process is healthy
- metrics
Optional Metrics Reporter used to expose internally captured metrics
- delayLoggingThreshold
Logs a warning message once the sequencer client falls behind in processing messages from the sequencer (based on the sequencing timestamp).
- tracing
Tracing configuration
- logMessagePayloads
Determines whether message payloads (as well as metadata) sent through GRPC are logged.
- logQueryCost
Determines whether to log the 15 most expensive db queries
- logSlowFutures
Whether we should active log slow futures (where instructed)
- dumpNumRollingLogFiles
How many of the rolling log files shold be included in the remote dump. Default is 0.
- Alphabetic
- By Inheritance
- MonitoringConfig
- Serializable
- Product
- Equals
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MonitoringConfig(deadlockDetection: DeadlockDetectionConfig = DeadlockDetectionConfig(), health: Option[HealthConfig] = None, metrics: MetricsConfig = MetricsConfig(), delayLoggingThreshold: NonNegativeFiniteDuration = MonitoringConfig.defaultDelayLoggingThreshold, tracing: TracingConfig = TracingConfig(), logMessagePayloads: Option[Boolean] = None, logQueryCost: Option[QueryCostMonitoringConfig] = None, logSlowFutures: Boolean = false, healthDumpMetricFrequency: NonNegativeFiniteDuration = MonitoringConfig.defaultHealthDumpMetricFrequency, logging: LoggingConfig = LoggingConfig(), dumpNumRollingLogFiles: NonNegativeInt = MonitoringConfig.defaultDumpNumRollingLogFiles)
- deadlockDetection
Should we regularly check our environment EC for deadlocks?
- health
Optional Health check to expose an http server to monitor is the canton process is healthy
- metrics
Optional Metrics Reporter used to expose internally captured metrics
- delayLoggingThreshold
Logs a warning message once the sequencer client falls behind in processing messages from the sequencer (based on the sequencing timestamp).
- tracing
Tracing configuration
- logMessagePayloads
Determines whether message payloads (as well as metadata) sent through GRPC are logged.
- logQueryCost
Determines whether to log the 15 most expensive db queries
- logSlowFutures
Whether we should active log slow futures (where instructed)
- dumpNumRollingLogFiles
How many of the rolling log files shold be included in the remote dump. Default is 0.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val deadlockDetection: DeadlockDetectionConfig
- val delayLoggingThreshold: NonNegativeFiniteDuration
- val dumpNumRollingLogFiles: NonNegativeInt
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getLoggingConfig: LoggingConfig
- val health: Option[HealthConfig]
- val healthDumpMetricFrequency: NonNegativeFiniteDuration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logMessagePayloads: Option[Boolean]
- val logQueryCost: Option[QueryCostMonitoringConfig]
- val logSlowFutures: Boolean
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- val logging: LoggingConfig
- val metrics: MetricsConfig
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tracing: TracingConfig
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])