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
1 changed files with 2 additions and 0 deletions

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()