microservices-demo/src/productcatalogservice
Yoshi Yamaguchi 6460427bee Change log format to JSON and log destination to stdout (#48)
* 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
2018-09-25 16:43:17 -07:00
..
genproto productcatalog: regenerate protos 2018-06-29 11:08:06 -07:00
.dockerignore go: use dep in builds, remove relative imports 2018-08-04 11:21:03 -07:00
Dockerfile grpc: implement health check in go services (#27) 2018-09-20 10:31:31 -07:00
Gopkg.lock Change log format to JSON and log destination to stdout (#48) 2018-09-25 16:43:17 -07:00
Gopkg.toml Change log format to JSON and log destination to stdout (#48) 2018-09-25 16:43:17 -07:00
README.md go: use dep in builds, remove relative imports 2018-08-04 11:21:03 -07:00
genproto.sh Add more license headers 2018-07-25 21:25:27 -07:00
products.json productcatalog: read products from json, fix tests 2018-07-17 22:24:59 -07:00
server.go Change log format to JSON and log destination to stdout (#48) 2018-09-25 16:43:17 -07:00
server_test.go go: use dep in builds, remove relative imports 2018-08-04 11:21:03 -07:00

README.md

productcatalogservice

Run the following command to restore dependencies to vendor/ directory:

dep ensure --vendor-only