recommendationservice: add init message

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-17 08:39:23 -07:00
parent c602594c37
commit cca50463ee

View file

@ -31,7 +31,9 @@ class RecommendationService(demo_pb2_grpc.RecommendationServiceServicer):
response = demo_pb2.ListRecommendationsResponse()
response.product_ids.extend(prod_list)
return response
if __name__ == "__main__":
print("starting recommendationservice")
try:
sampler = always_on.AlwaysOnSampler()
exporter = stackdriver_exporter.StackdriverExporter()