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 snible@us.ibm.com

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

Signed-off-by: Ed Snible <snible@us.ibm.com>
@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 <snible@us.ibm.com>

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

Signed-off-by: Ed Snible <snible@us.ibm.com>
Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>
yurishkuro added a commit that referenced this pull request May 30, 2022
* Added new SPM tracing events tracking

Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* Added tests for new SPM events

Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* reworked tracking categories & actions names

Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

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

Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* Fix monitor tab crashing (#946)

Signed-off-by: nofar9792 <nofar.cohen@logz.io>
Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* Add repository to package.json (#949)

Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* Preparing release v1.23.0 (#947)

* Preparing release v1.23.0

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* 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] <support@github.com>

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

* Clarify development setup

For #952

Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* 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 <snible@us.ibm.com>

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

Signed-off-by: Ed Snible <snible@us.ibm.com>
Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

* Updated sorting events tracking

Signed-off-by: VladislavBryukhanov <gfedcba625@gmail.com>

Co-authored-by: nofar9792 <nofar.cohen@logz.io>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Co-authored-by: Pavol Loffay <p.loffay@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ed Snible <esnible@acm.org>
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.

None yet

3 participants