opencensus-java icon indicating copy to clipboard operation
opencensus-java copied to clipboard

Add support for Google's AppEngine Standard

Open bogdandrutu opened this issue 8 years ago • 5 comments

Add a contrib package/artifact that allows users to interact with AppEngine trace context.

See something similar here: https://github.com/GoogleCloudPlatform/cloud-trace-java/tree/master/services/appengine-standard-service

What should be provided:

  • Encode/Decode to "com.google.apphosting.api.CloudTraceContext".
  • Interaction with the appengine context "com.google.apphosting.api.CloudTrace". This may be hard because the opencensus uses grpc.Context and may require some non trivial changes.

bogdandrutu avatar Feb 09 '18 03:02 bogdandrutu

/cc @dinooliva

sebright2 avatar Apr 09 '18 22:04 sebright2

The interaction with the com.google.apphosting.api.CloudTrace can be done via io.grpc.Context.Storage. Investigating that option now.

bogdandrutu avatar May 30 '18 22:05 bogdandrutu

Should this issue be closed via https://github.com/census-instrumentation/opencensus-java/pull/1214?

songy23 avatar Jun 12 '18 17:06 songy23

#1214 only implemented the first bullet point.

sebright2 avatar Jun 12 '18 17:06 sebright2

Hi, I'm not sure if this is the place to ask this, but is OpenCensus supported in AppEngine Standard for stats monitoring? I saw this page, but wasn't sure if it was up-to-date.

I've been using it for a while in that environment with partial success. Thanks.

jaycarlton avatar Jan 29 '20 14:01 jaycarlton