Stackdriver Config
CustomConfig
Custom instance configuration overrides. Provides a way to customize metrics/logs .
Field | Type | Description | Required |
---|---|---|---|
dimensions | map<string, string> | (Optional) Collection of tag names and tag expressions to include in the instance. Conflicts are resolved by the tag name by overriding previously supplied values. | No |
PluginConfig
next id: 15
Field | Type | Description | Required |
---|---|---|---|
maxLogBatchSizeInBytes | int32 | Optional. Allows configuration of the size of the LogWrite request. The size is in bytes, so that it allows for better performance. Default is 4MB. The size of one log entry within LogWrite request is approx 1Kb. | No |
logReportDuration | Duration | Optional. Allows configuration of the time between calls out to the stackdriver logging service to report buffered LogWrite request. Customers can choose to report more aggressively by keeping shorter report interval if needed. Default is 10s. | No |
enableAuditLog | bool | Optional. Controls whether to export audit log. | No |
destinationServiceName | string | Optional. FQDN of destination service that the request routed to, e.g. productpage.default.svc.cluster.local. If not provided, request host header will be used instead | No |
enableMeshEdgesReporting | bool | Optional. Controls whether or not to export mesh edges to a mesh edges service. This is disabled by default. | No |
meshEdgesReportingDuration | Duration | Optional. Allows configuration of the time between calls out to the mesh edges service to report NEW edges. The minimum configurable duration is | No |
maxPeerCacheSize | int32 | maximum size of the peer metadata cache. A long lived proxy that connects with many transient peers can build up a large cache. To turn off the cache, set this field to a negative value. | No |
disableHostHeaderFallback | bool | Optional: Disable using host header as a fallback if destination service is not available from the controlplane. Disable the fallback if the host header originates outsides the mesh, like at ingress. | No |
maxEdgesBatchSize | int32 | Optional. Allows configuration of the number of traffic assertions to batch into a single request. Default is 100. Max is 1000. | No |
disableHttpSizeMetrics | bool | Optional. Allows disabling of reporting of the request and response size metrics for HTTP traffic. Defaults to false (request and response size metrics are enabled). | No |
enableLogCompression | BoolValue | Optional. Allows enabling log compression for stackdriver access logs. | No |
accessLogging | AccessLogging | Optional. Controls what type of logs to export.. | No |
customLogConfig | CustomConfig | (Optional) Collection of tag names and tag expressions to include in the logs. Conflicts are resolved by the tag name by overriding previously supplied values. Does not apply to audit logs. | No |
disableServerAccessLogging | bool | Optional. Controls whether to export server access log. This is deprecated in favor of AccessLogging enum. | No |
PluginConfig.AccessLogging
Types of Access logs to export. Does not affect audit logging.
Name | Description |
---|---|
NONE | No Logs. |
FULL | All logs including both success and error logs. |
ERRORS_ONLY | All error logs. This is currently only available for outbound/client side logs. A request is classified as error when |