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

dev: add metrics endpoint #173

Open
EvolveArt opened this issue Feb 11, 2025 · 0 comments
Open

dev: add metrics endpoint #173

EvolveArt opened this issue Feb 11, 2025 · 0 comments
Assignees

Comments

@EvolveArt
Copy link
Contributor

We need to build a dashboard for monitoring internally the feeds, and this dashboard should be open, so that users can check the quality of the data feeds.

The data we need to track on the dashboard is:

  • Median absolute deviation: Take the median price we computed across sources, compute the difference each source has from the median, and print the median of the differences. Example: If prices are [100, 101, 102, 150], the median is 101.5, the absolute deviations are [1.5, 0.5, 0.5, 48.5], and the MAD is 1.5
  • Max deviation from median: Find the source with the max deviation from median, compute (in %), the maximum deviation from the median at each data point, and print it
  • Max Pairwise deviation & median pairwise deviation: Compute (in %) the deviation between each source, and print max & median.
@akhercha akhercha self-assigned this Feb 26, 2025
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