Python Stackdriver Create and List TimeSeries not working on gevent monkey patch

84 views
Skip to first unread message

Venugopalnaidu chandra

unread,
Sep 8, 2018, 8:57:39 AM9/8/18
to Google Stackdriver Discussion Forum
Hi,

I am using a multithread web service application using gevent.

I am facing an issue while pushing and pulling time series data from stackdriver using grpc python api


1) If i enable gevent.monkey.patch_all() create time series api giving 503 deadline exceeded error and the same working i disable  gevent,

2) While pulling time series metrics my application crashing with segmentation fault while iterating google.api_core.page_iterator.GRPCIterator, same working if i disable gevent,



The below are the google python library version which i am using

google-api-core==1.3.0
google-api-python-client==1.7.4
google-auth==1.5.1
google-auth-httplib2==0.0.3
google-cloud-core==0.28.1
google-cloud-logging==1.6.0
google-cloud-monitoring==0.29.0
google-cloud-storage==1.11.0
google-gax==0.14.1
google-resumable-media==0.3.1
googleapis-common-protos==1.5.3
grpc-google-monitoring-v3==0.11.1


Maxim Leonovich

unread,
Oct 3, 2018, 3:30:38 PM10/3/18
to Google Stackdriver Discussion Forum
Hi Venu,

I'm running into exactly the same issue and I'm curious if you have found any workaround for it.

Thanks!
Reply all
Reply to author
Forward
0 new messages