File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
spartan/terraform/gke-cluster/cluster
yarn-project/foundation/src/log Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ resource "google_container_cluster" "primary" {
3434 dataset_id = " egress_consumption"
3535 }
3636 }
37+
38+ node_config {
39+ logging_variant = " MAX_THROUGHPUT"
40+ }
3741}
3842
3943# Create 2 core node pool with local ssd
Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ const GOOGLE_CLOUD_TRACE_SAMPLED = 'logging.googleapis.com/trace_sampled';
1313 */
1414export const GoogleCloudLoggerConfig = {
1515 messageKey : 'message' ,
16- // Same as pino.stdTimeFunctions.isoTime but uses "timestamp" key instead of "time"
17- timestamp ( ) : string {
18- return `,"timestamp":"${ new Date ( Date . now ( ) ) . toISOString ( ) } "` ;
19- } ,
2016 formatters : {
2117 log ( object : Record < string , unknown > ) : Record < string , unknown > {
2218 // Add trace context attributes following Cloud Logging structured log format described
You can’t perform that action at this time.
0 commit comments