Megan O'Keefe
90f9287f3a
Adds option to disable Stackdriver Export ( #293 )
2020-02-20 15:26:44 -05:00
Megan O'Keefe
754d22a08f
Updates go services to google-cloud-go 0.40.0 ( #234 )
...
* Updates go services to google cloud go 0.40.0
* Revert kubernetes manifests, remove custom images
* Remove binary file, replace nil error with unimplemented
* Shippingservice needed status import
* Remove shippingservice binary
2019-07-09 16:57:50 -04:00
Yoshi Yamaguchi
1c057fcbd8
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"
2019-06-13 00:46:33 -07:00
Abhilash Gnan
55f5061532
Use env in service manifests for PORT ( #212 )
...
* fix shipping service ports
* fix product catalog servicde ports
* fix paymentservice ports
* fix currenservice ports
* fix checkoutservice ports
* fix emailservice ports
* fix frontend app ports
* fix recommendationservice ports
* fix indentation in service yaml files
2019-05-08 19:39:14 -07:00
Megan O'Keefe
1d045de655
productcatalog: introduce configurable latency ( #134 )
2019-01-29 16:08:24 -08:00
rghetia
54f0a8d058
add jaeger support for productcatalog and shipping. ( #126 )
2019-01-22 09:56:39 -08:00
Théo Chamley
c91dca764f
Toggle bug in ProductCatalogService for demos ( #85 )
...
Fixes #84 .
2018-12-17 11:06:49 -08:00
rghetia
d69f1a4f25
increase reporting interval. ( #96 )
...
also fixed a bug in SD export registration in Ads.
2018-11-14 11:49:17 -08:00
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
Ahmet Alp Balkan
1bab006af1
grpc: implement health check in go services ( #27 )
...
Also locked grpc-go to =1.14 exact version.
See grpc/grpc-go#2314 and grpc/grpc-go#2313 for reference
2018-09-20 10:31:31 -07:00
rghetia
fc6df2daea
Remove monitored resource autodetect ( #42 )
2018-09-14 12:27:25 -07:00
rghetia
7f2ecfea9e
Instrument Go service with Stats and monitored resources. ( #30 )
...
added default views for stats for http and grpc in Go services only.
added monitored resources for go.
2018-08-24 16:30:50 -07:00
Ahmet Alp Balkan
427f13fcd3
go: use dep in builds, remove relative imports
...
Fixes #11 .
Fixes #12 .
Fixes #13 .
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-04 11:21:03 -07:00
Ahmet Alp Balkan
3493cc1cb4
Add more license headers
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-25 21:25:27 -07:00
Ahmet Alp Balkan
f149cc050b
productcatalogservice: fix build
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:50:54 -07:00
Ahmet Alp Balkan
b943dda1b7
go services: fix bug that starts profiling 3 times
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:36:17 -07:00
Ahmet Alp Balkan
d5394b4041
productcatalog: read products from json, fix tests
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:24:59 -07:00
morganmclean
dbc9523cea
Changed product catalog to use json, so that it slows down and generates nice profiles
2018-07-17 21:35:11 -07:00
Ahmet Alp Balkan
5bb1a3f400
go services: do not fail (+retry) profiler init
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 11:45:09 -07:00
Ahmet Alp Balkan
e4664c22ea
refactor fix after profiler patch
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-16 15:17:59 -07:00
morganmclean
99ce1f84c2
Instrumented everything but Python
2018-07-16 14:29:14 -07:00
Ahmet Alp Balkan
d08a58cc21
add retries for stackdriver exporters in go
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-13 15:44:56 -07:00
Ahmet Alp Balkan
d01f525453
refactor initTrace -> initTracing()
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-13 10:47:42 -07:00
Ahmet Alp Balkan
89618dbeb6
payment & productcatalog: sample rate 1.0
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-12 10:22:36 -07:00
Ahmet Alp Balkan
6065e871a9
productcatalog: export traces to stackdriver
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-11 19:19:00 -07:00
Ahmet Alp Balkan
61cf05844d
fix go builds after deleting pkg internal
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-10 20:11:30 -07:00
JBD
4a82b21b5e
add OpenCensus Go support for HTTP and gRPC
2018-07-10 17:36:55 -07:00
Ahmet Alp Balkan
7e732dee6c
productcatalog: regenerate protos
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -07:00
Ahmet Alp Balkan
8a6be04035
productcatalog: longer product IDs
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 22:47:21 -07:00
Ahmet Alp Balkan
4ccf44582f
frontend/productservice: add product inventory
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 21:51:48 -07:00
Ahmet Alp Balkan
2316e25504
change Product.id to string
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-20 12:20:39 -07:00
Jonathan Amsterdam
914f07f307
productcatalogservice: implementation
2018-06-16 09:37:11 -04:00