Skip to content
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

Consider HAR format #1102

Closed
neopaf opened this issue Oct 5, 2018 · 5 comments
Closed

Consider HAR format #1102

neopaf opened this issue Oct 5, 2018 · 5 comments

Comments

@neopaf
Copy link

neopaf commented Oct 5, 2018

Requirement - what kind of business use case are you trying to solve?

Traces

  • sent by email
  • used in offline environments
  • stored to long-term archive
  • attached to tracker software (I know about links. but they are not very good long-term)
  • analysed with some 3rd party software (would allow emerging of such)
  • represented in a filtered way
  • auto-converted to tests

Problem - what in Jaeger blocks you from solving the requirement?

Currently traces go to DB and there is API, to extract them, but in proprietary format.

Proposal - what do you suggest to solve the problem or improve the existing situation?

Suggest to consider adding a button in UI to export it in HAR format, which seems flexible enough
http://www.softwareishard.com/blog/har-12-spec/

And has lots of viewers.
Which could be base for analytic software.

@yurishkuro
Copy link
Member

We have canonical thrift and protobuf format, will have canonical json in the future. What value does HAR provide over those?

@neopaf
Copy link
Author

neopaf commented Oct 8, 2018

Yuri,
point is what we can do with what we export.
If there is a way to view a "canned trace" in any form, I think, people would be happier.
Found jaegertracing/jaeger-ui#214, sounds very good for me.
But that somewhat limits ways for people to view things.

HAR is also JSON, but there are several viewers for it, example:
https://chrome.google.com/webstore/detail/http-archive-viewer/ebbdbdmhegaoooipfnjikefdpeoaidml

#706... maybe we could use HAR as a base for our JSON general format?

Also my point is that if there is somewhat known JSON trace-related format, maybe consider that as a base?
https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HAR/Overview.html has custom fields to store our stuff.

@neopaf
Copy link
Author

neopaf commented Oct 8, 2018

In UI I've found only JSON. Missing something? Thrift and ProtoBuf, where are they?
(пользуясь случаем, спасибо за замечательный инструмент)

@yurishkuro
Copy link
Member

I believe a combination of #706 and jaegertracing/jaeger-ui#214 is sufficient to address all the scenarios you listed (except for the last two, I am not sure what those mean).

спасибо за замечательный инструмент

Спасибо за комплимент.

@neopaf
Copy link
Author

neopaf commented Oct 9, 2018

got it. hoping for those then.

@neopaf neopaf closed this as completed Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants