[tracing] Check for both type and value presence

Changes the behavior in chart_json_converter.html to check for either
value.type or the actual value fields when decided how to add samples
to the histogram. This fixes samples not being added if the type isn't
explicitly set, but the data is otherwise valid and unambiguous.

Bug: chromium:906685
Change-Id: I4510ca4dfef82ef8f29f997e1e9df2e0d3f6ae54
Reviewed-on: https://chromium-review.googlesource.com/c/1370690
Reviewed-by: Ben Hayden <benjhayden@chromium.org>
Commit-Queue: Ben Hayden <benjhayden@chromium.org>
2 files changed
tree: 0877b32b57cb057461556d5f36c3d071adae402a
  1. bin/
  2. catapult_build/
  3. common/
  4. dashboard/
  5. dependency_manager/
  6. devil/
  7. docs/
  8. experimental/
  9. firefighter/
  10. hooks/
  11. infra/
  12. netlog_viewer/
  13. systrace/
  14. telemetry/
  15. third_party/
  16. trace_processor/
  17. tracing/
  18. web_page_replay_go/
  19. .eslintignore
  20. .eslintrc
  21. .gitignore
  22. .vpython
  23. AUTHORS
  24. BUILD.gn
  25. codereview.settings
  26. CONTRIBUTING.md
  27. generate_telemetry_build.py
  28. LICENSE
  29. navbar.md
  30. OWNERS
  31. PRESUBMIT.py
  32. pylintrc
  33. README.md
  34. WATCHLISTS
README.md

Catapult

Catapult is the home for several performance tools that span from gathering, displaying and analyzing performance data. This includes:

These tools were created by Chromium developers for performance analysis, testing, and monitoring of Chrome, but they can also be used for analyzing and monitoring websites, and eventually Android apps.

Contributing

Please see our contributor's guide

Current build status