-
Notifications
You must be signed in to change notification settings - Fork 133
chore: remove deprecated registration of the span names for zpages #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove deprecated registration of the span names for zpages #27
Conversation
This is my first PR here, please guide me if I am missing anything. |
/cc @bogdandrutu please review |
@skuruppu When do you expect this to land ? |
I don't know why the build didn't trigger for it but I've triggered a manual build for this PR so hopefully it works. You can see it at sponge/39f68490-b680-42e6-b059-1be161809bcb. |
Sorry @mayurkale22, I pushed a PR that fails the binary compatibility test and that seems to be blocking the remainder of the tests from running. I'm hoping to resolve the issue within the next day. |
Hi @mayurkale22, Welcome to the Java client :-) A couple of tips:
|
@skuruppu @olavloite build is passing now :) |
Fixes #21
The
registerSpanNamesForCollection()
method is deprecated since OpenCensus-0.18
release, the alternative isEndSpanOptions#getSampleToLocalSpanStore()
See: https://github.com/census-instrumentation/opencensus-java/blob/2a17c8482ffb04540ea4ac0a5f746ad8d536c996/api/src/main/java/io/opencensus/trace/export/SampledSpanStore.java#L102-L112