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

Use red on scatterplot for traces if any spans have an error=true tag #951

Merged
merged 2 commits into from
May 16, 2022

Conversation

esnible
Copy link
Contributor

@esnible esnible commented May 13, 2022

Signed-off-by: Ed Snible [email protected]

Show error traces in red on the scatterplot.

To test this it can be handy to have a source of good-looking traces with errors. I used synthentic data generated by docker run -it --env JAEGER_COLLECTOR_URL=http://docker.for.mac.localhost:14268 omnition/synthetic-load-generator.

Note that this is my first Jaeger-UI PR. When I tried to commit I got a warnings. Resolving them needed some help: I didn't know that I needed to run yarn prettier to clean my code, nor yarn lint to lint it. Is this in the docs? I couldn't find it.

jaeger-with-red-errors

@esnible esnible force-pushed the scatterplot-red-errors branch from 6a2efad to 1b2b36f Compare May 13, 2022 17:13
@codecov
Copy link

codecov bot commented May 13, 2022

Codecov Report

Merging #951 (1b2b36f) into main (b3db32f) will decrease coverage by 0.03%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main     #951      +/-   ##
==========================================
- Coverage   95.31%   95.28%   -0.04%     
==========================================
  Files         240      240              
  Lines        7521     7524       +3     
  Branches     1832     1887      +55     
==========================================
  Hits         7169     7169              
- Misses        346      348       +2     
- Partials        6        7       +1     
Impacted Files Coverage Δ
...nents/SearchTracePage/SearchResults/ScatterPlot.js 66.66% <ø> (ø)
.../components/SearchTracePage/SearchResults/index.js 82.35% <66.66%> (-0.99%) ⬇️
...nents/TracePage/TraceTimelineViewer/SpanBarRow.tsx 94.44% <0.00%> (-5.56%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b3db32f...1b2b36f. Read the comment docs.

Copy link
Collaborator

@rubenvp8510 rubenvp8510 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @albertteoh @yurishkuro What do you think?

@yurishkuro yurishkuro merged commit c15ab14 into jaegertracing:main May 16, 2022
VladislavBryukhanov pushed a commit to VladislavBryukhanov/jaeger-ui that referenced this pull request May 26, 2022
…jaegertracing#951)

* Use red on scatterplot for traces if any spans have an error=true tag

Signed-off-by: Ed Snible <[email protected]>

* Used 'yarn prettier' to appease 'yarn lint'

Signed-off-by: Ed Snible <[email protected]>
Signed-off-by: VladislavBryukhanov <[email protected]>
yurishkuro added a commit that referenced this pull request May 30, 2022
* Added new SPM tracing events tracking

Signed-off-by: VladislavBryukhanov <[email protected]>

* Added tests for new SPM events

Signed-off-by: VladislavBryukhanov <[email protected]>

* reworked tracking categories & actions names

Signed-off-by: VladislavBryukhanov <[email protected]>

* fixed license block dates; moved debounce from tracking module to component

Signed-off-by: VladislavBryukhanov <[email protected]>

* Fix monitor tab crashing (#946)

Signed-off-by: nofar9792 <[email protected]>
Signed-off-by: VladislavBryukhanov <[email protected]>

* Add repository to package.json (#949)

Signed-off-by: VladislavBryukhanov <[email protected]>

* Preparing release v1.23.0 (#947)

* Preparing release v1.23.0

Signed-off-by: Pavol Loffay <[email protected]>

* Fix

Signed-off-by: Pavol Loffay <[email protected]>

* Fix

Signed-off-by: Pavol Loffay <[email protected]>

* Fix

Signed-off-by: Pavol Loffay <[email protected]>

* Fix

Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: VladislavBryukhanov <[email protected]>

* Bump github/codeql-action from 1 to 2 (#938)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: VladislavBryukhanov <[email protected]>

* Clarify development setup

For #952

Signed-off-by: VladislavBryukhanov <[email protected]>

* Use red on scatterplot for traces if any spans have an error=true tag (#951)

* Use red on scatterplot for traces if any spans have an error=true tag

Signed-off-by: Ed Snible <[email protected]>

* Used 'yarn prettier' to appease 'yarn lint'

Signed-off-by: Ed Snible <[email protected]>
Signed-off-by: VladislavBryukhanov <[email protected]>

* Updated sorting events tracking

Signed-off-by: VladislavBryukhanov <[email protected]>

Co-authored-by: nofar9792 <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Co-authored-by: Pavol Loffay <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ed Snible <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants