aligning function name and log message to the official product name (#229)
* log: change log format to JSON payload for better log in Stackdriver
change the log format in Go written service from text payload to
JSON payload using 3rd party logging library (logrus).
https://cloud.google.com/logging/docs/structured-logging
33a1e118e1/json_formatter.go (L40-L49)
Effected services are frontend, productcatalogservice, checkoutservice,
and shippinservice.
Also change target container registry and locust scenario for testing.
* revert kubernetes manifests to point to the original container registry URLs
* revert skaffold.yaml to point to the original registry
* loadgenerator: revert locust settings
* align all function names and messages to the official product name "Stackdriver"
This commit is contained in:
parent
dc98b16a4d
commit
1c057fcbd8
5 changed files with 35 additions and 35 deletions
|
@ -214,7 +214,7 @@ public final class AdService {
|
|||
}
|
||||
|
||||
private static void initStackdriver() {
|
||||
logger.info("Initialize StackDriver");
|
||||
logger.info("Initialize Stackdriver");
|
||||
|
||||
long sleepTime = 10; /* seconds */
|
||||
int maxAttempts = 5;
|
||||
|
@ -252,7 +252,7 @@ public final class AdService {
|
|||
}
|
||||
}
|
||||
}
|
||||
logger.info("StackDriver initialization complete.");
|
||||
logger.info("Stackdriver initialization complete.");
|
||||
}
|
||||
|
||||
private static void initJaeger() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue