Commit graph

269 commits

Author SHA1 Message Date
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
9486bc24fd Fixed recommendations instrumentation 2018-07-16 14:34:22 -07:00
morganmclean
6e1bbe46e2 partly fixed python 2018-07-16 14:29:14 -07:00
morganmclean
4c8fa307a5 latest 2018-07-16 14:29:14 -07:00
morganmclean
99ce1f84c2 Instrumented everything but Python 2018-07-16 14:29:14 -07:00
Ahmet Alp Balkan
11e68b3733 istio-manifests: add portnames to serviceentry
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-16 11:02:12 -07:00
Ahmet Alp Balkan
e53b2956a2 Revert "frontend: temporarily add a port 8090 for healthz in mTLS"
This reverts commit 9c8b4bcad2c9cc4405a2a15b430e9823ebfd0a3e.
2018-07-16 11:02:02 -07:00
Ahmet Alp Balkan
b486251773 Revert "frontend: use LISTEN_ADDR, refactor Listen code"
This reverts commit 894c0e2a8dbcc76623c7d3ddf589e30e6b9985a9.
2018-07-16 11:01:58 -07:00
Ahmet Alp Balkan
ab2b15723c frontend: use LISTEN_ADDR, refactor Listen code
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-16 10:21:41 -07:00
Ahmet Alp Balkan
7b35fb1291 frontend: temporarily add a port 8090 for healthz in mTLS
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 21:28:55 -07:00
Ahmet Alp Balkan
021660bb95 loadgenerator: exit faster on SIGTERM
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 16:34:41 -07:00
Ahmet Alp Balkan
457e2edbdf frontend/static: fix product image aspect ratios
use film-camera.jpg (1331 × 854) as the base aspect ratio

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 16:30:18 -07:00
Ahmet Alp Balkan
afee0d099c loadgenerator: switch to python 3.6
python3.7 is causing lockup in locust.
See https://github.com/locustio/locust/issues/843

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 12:22:38 -07:00
Ahmet Alp Balkan
ba5bf6d4eb loadgenerator: kill periodically to prevent lockup
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 11:14:35 -07:00
Ahmet Alp Balkan
b58c8ba922 README: fix typo GFR->GCR
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-14 20:34:09 -07:00
Ahmet Alp Balkan
a3740aa7b5 shippingservice: add ca-certificates to image
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-13 16:17:47 -07:00
Ahmet Alp Balkan
53da3583e4 skaffold: add gcb profile
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-13 15:45:10 -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
5a32ddf0ff shippingservice: move initTrace() to a func
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-12 14:56:51 -07:00
Ahmet Alp Balkan
062b325c1e update istio manifests
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-12 14:56:43 -07:00
Ahmet Alp Balkan
555c8a4c05 frontend/checkoutservice: add tracing
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-12 10:46:43 -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
1799f36dc6 shippingsercice: export traces to stackdriver
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-11 19:55: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
morganmclean
88b29516fb Added node.js client tracing 2018-07-11 15:40:38 -07:00
morganmclean
59430d5854 Added node.js tracing 2018-07-11 15:19:17 -07:00
Ahmet Alp Balkan
af71f8f9b0 frontend: refactor http.Handler decoration
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-10 21:49:06 -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
Ahmet Alp Balkan
dff246a3d7 README: add local development instructions
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-10 19:47:24 -07:00
JBD
4a82b21b5e add OpenCensus Go support for HTTP and gRPC 2018-07-10 17:36:55 -07:00
Simon Zeltser
7101b6b4fe Changing the order of redis and cart service starting
This should help monitoring probe for cart service to succeed at first run
2018-07-09 21:02:27 -07:00
Ahmet Alp Balkan
5c57fc6112 add users
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-09 12:57:14 -07:00
Ahmet Alp Balkan
0be5e7b1e2 cartservice: rm initContainer, fix probe query ip
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-09 12:56:54 -07:00
Ahmet Alp Balkan
a8508f8f74 delete binary
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-09 12:45:17 -07:00
Ahmet Alp Balkan
03182151ee Add gcr.io/istio-next to image names
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-07 17:14:52 -07:00
Ahmet Alp Balkan
375e2d35dd k8s: add exec probes to cartservice
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-07 17:10:52 -07:00
Ahmet Alp Balkan
0c1068aec6 cartservice: add an exec probe written in Go
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-07 16:56:52 -07:00
Ahmet Alp Balkan
420a074091 add initial istio-manifests
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-03 13:41:56 -07:00
Ahmet Alp Balkan
684c6020cb frontend: whitelist currencies two more currencies
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-03 12:10:52 -07:00
Ahmet Alp Balkan
0b192fa95c frontend: small fixes for form controls
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-03 09:56:42 -07:00
Ahmet Alp Balkan
6c8d06428f frontend: recommendations widget is responsive
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 16:34:21 -07:00
Ahmet Alp Balkan
96ffafe0c5 frontend: error tpl invokes header/footer with vals
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 16:16:30 -07:00
Ahmet Alp Balkan
2f5cbd5eee frontend: add footer (session id + request id)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 16:11:58 -07:00
Ahmet Alp Balkan
6a5ba2a51d frontend: fix checkout form mb
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 15:44:25 -07:00
Ahmet Alp Balkan
39169ca498 frontend: remove footer text
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 15:20:23 -07:00
Simon Zeltser
d457f7ec28 Making cartservice more reliable
1. Making sure we re-create redis connection upon disconnect
2. Fixed local cart store implementation to handle updates (useful for testing w/o redis)
3. Fixed windows scripts to work against redis correctly
2018-07-02 13:26:37 -07:00
Simon Zeltser
11c208a9f4 Merge remote-tracking branch 'origin' into createCartService 2018-07-02 13:25:34 -07:00
Ahmet Alp Balkan
5cc013952e remove trailing lines
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 13:03:37 -07:00
Ahmet Alp Balkan
3416aee7d5 k8s/cartservice: add init container to wait redis
otherwise nullpointerexception persists

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 12:41:33 -07:00