V3FunctionLogConfig

data class V3FunctionLogConfig(val enableInstanceMetrics: Boolean? = null, val enableRequestMetrics: Boolean? = null, val logBeginRule: String? = null, val logstore: String? = null, val project: String? = null)

Constructors

Link copied to clipboard
constructor(enableInstanceMetrics: Boolean? = null, enableRequestMetrics: Boolean? = null, logBeginRule: String? = null, logstore: String? = null, project: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

After this feature is enabled, you can view core metrics such as instance-level CPU usage, memory usage, instance network status, and the number of requests within an instance. false: The default value, which means that instance-level metrics are turned off. true: indicates that instance-level metrics are enabled.

Link copied to clipboard

After this function is enabled, you can view the time and memory consumed by a call to all functions under this service. false: indicates that request-level metrics are turned off. true: The default value, indicating that request-level metrics are enabled.

Link copied to clipboard
val logBeginRule: String? = null

Log Line First Matching Rules

Link copied to clipboard
val logstore: String? = null

The Logstore name of log service.

Link copied to clipboard
val project: String? = null

The name of the log service Project.