question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Discussions about which metrics we need to stat

See original GitHub issue

We have integrated opencensus library into raylet and added 2 example metrics: CurrentWorker and TaskReceivedCount.

I think this issue can be used to collect our requirements about metrics. I racked my brains to think of these metrics:

  • RedisLatency: The latency of a redis operator. (finished at https://github.com/ray-project/ray/pull/4602)
  • CompletedTaskCount: How many completed tasks.
  • TaskElapsedTime: The time that a task elapsed in backend.
  • ObjectCount: How many objects we are holding.

I discussed with @raulchen about TaskElapsedTime offline, and we thought it’s unnecessary to add this metric because the change is a bit huge, we should add a start_time for TaskInfo, and this should be implemented by tracing system which can trace the lifecycle of tasks, actor, etc.

So, what other metrics need to be stated?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ericlcommented, Apr 11, 2019

I would probably also add the metrics emitted in debug_state.txt as well, which should cover internal data structure sizes and things like that.

Some metrics on what the raylet is spending time doing would also be useful, i.e., time making scheduling decisions.

0reactions
rkooo567commented, Nov 14, 2020

Added new stats.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Which Stats Matter: A Definitive Guide to Social Media Metrics
Learn the importance of finding the right social media metrics to track for your marketing. Learn how to get the most value from...
Read more >
Metrics Versus Statistics: What's the Difference?
Learn about the difference between metrics and statstics and why they matter to how you manage your physical therapy private practice.
Read more >
How to Select the Right Statistical Tests for Different A/B Metrics
This article summarizes A/B test evaluation metrics into 5 categories and outlines the suggested statistics testing for its significance values in the table ......
Read more >
Four Steps to Measuring What Matters
Choosing the right statistics — metrics that will allow you to understand, track, and manage the cause-and-effect relationships that determine ...
Read more >
Looking at metrics? Here are 55 questions to consider first
Here's 55 questions you might want to try and answer through careful acts of measurement. Each one probably requires multiple metrics applied in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found