-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Zipkin receiver wrongly deduced whether the spans are compressed (gzipped) or not #2641
Comments
Hi read #2525 (comment) . Adrian explain why this happens. Btw, for curiousness, SkyWalking just receives Zipkin trace and analysis is not for production env. What do you expect for the next step? Maybe make it ready for production? |
Hi , I had read adriancole's comments before created this ticket. I do not think that is the case. "SkyWalking just receives Zipkin trace and analysis is not for production env. What do you expect for the next step? Maybe make it ready for production?" We wanted to give Skywalking a try as it seams to be more advanced/rich solution than native zipkin-server. Obviously, before going to production we want to make sure whether it works and meets our needs or not. You mentioned "SkyWalking just receives Zipkin trace and analysis is not for production env". So which features are available right now? What data can we review from gui perspective (dashboard, trace, alarm, topology)? Maybe we should rather wait for further releases? Tom |
The status is, when you turn I keep waiting for some active contributor to work with us, to improve the experimental feature(zipkin trace analysis), make it product ready. |
Could you send a pull request to fix it directly? |
Hi, Do you know how far on the roadmap is Zipkin support? Is there really so much work left to do? Have you got any idea how could we enable basic Skywalking features anyway? I would really appreciate your answers. Tom |
Hi @tmichnik1981 Sorry for late. I was busy on SkyWalking DevCon. Right now, the major issues of Zipkin receiver, not production ready are
I think you have read https://github.com/SkyAPM/zipkin-skywalking , actually, that document is wrote by me and @adriancole back to the back we were building this feature as step one. So, you need to fix the above two issues. Also, when we came into SkyWalking 6.x, we have a better solution than analysis of the whole trace. The following suggestion should have better performance in trace analysis, but you need to understand SkyWalking more. |
Today's analysis process, in the easy scenario, really could transfer spans to SkyWalking trace. We used to demo it. Such as I am welcome to have a deeper discussion on improving this feature. But please notice, as an APM, we have less flexible in span tags and the spans of each trace. Meaning, if you want to have the SkyWalking topology, metrics, and alarm, you need to have logically the same raw data. |
fyi we have a work in progress on heuristic complete trace. hasn't
been updated in a while
https://github.com/adriancole/zipkin-voltdb/blob/master/storage/src/main/java/zipkin2/storage/voltdb/procedure/CompletePendingTraces.java#L127
…On Sat, May 11, 2019 at 11:57 PM 吴晟 Wu Sheng ***@***.***> wrote:
Today's analysis process, in the easy scenario, really could transfer spans to SkyWalking trace. We used to demo it. Such as
https://twitter.com/adrianfcole/status/1007625470886567936
I am welcome to have a deeper discussion on improving this feature. But please notice, as an APM, we have less flexible in span tags and the spans of each trace. Meaning, if you want to have the SkyWalking topology, metrics, and alarm, you need to have logically the same raw data.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
FYI I suggest creating a new topic for analysis related stuff as the gzip related concern is quite not the same :P |
Yes, make sense. Created #2653 . Let's move the further discussion there. @tmichnik1981 @adriancole |
@tmichnik1981 Any pull request from this issue? |
Close as no update. |
Please answer these questions before submitting your issue.
Question
Bug
SkyWalking: 6.1.0
JRE: Jdk8
OS: win10
zipkin client libs:
io.zipkin.zipkin2:zipkin:2.11.10
io.zipkin.reporter2:zipkin-reporter:2.7.13
Which company or project?
ING Bank Śląski SA
What happen?
Zipkin allows to decide whether we want to send compressed or uncopressed spans.
It turned out that zipkin-receiver-plugin was not able to figure out that the spans were compressed. In other words compressed data was interpreted as uncompressed which
led to exception.
I found in org.apache.skywalking.oap.server.receiver.zipkin.handler.SpanProcessor
what probably causes the problem.
Header "accept-encoding" is tested whilst zipkin sends Content-Encoding: gzip in the request.
Requirement or improvement
I think that checking "Content-Encoding" instead of "accept-encoding" should fix the issue.
The text was updated successfully, but these errors were encountered: