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

Chart for per-SP Spark Retrieval Result Codes breakdown #188

Open
Tracked by #181
juliangruber opened this issue Nov 12, 2024 · 1 comment
Open
Tracked by #181

Chart for per-SP Spark Retrieval Result Codes breakdown #188

juliangruber opened this issue Nov 12, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@juliangruber
Copy link
Member

Based on this feedback:

It would be great if the spark platform would open up the retrieval logs, we can see the official retrieval logs at the moment, but the frequency is very low, resulting in a very low retrieval rate for us, and this issue is confusing us!

Source: https://space-meridian.slack.com/archives/C02T827T9N0/p1730970300183279?thread_ts=1730734156.407589&cid=C02T827T9N0

I was thinking just about this today, when running the fetch-recent-miner-measurements.js script. Can we expose that information through an API?

I think this would best be a chart:

Screenshot 2024-11-12 at 11 18 52

This, but per SP

@juliangruber juliangruber changed the title Expose recent SP measurements Chart for per-SP Spark Retrieval Result Codes breakdown Nov 12, 2024
@juliangruber juliangruber mentioned this issue Nov 12, 2024
26 tasks
@bajtos bajtos added the good first issue Good for newcomers label Dec 2, 2024
@bajtos bajtos mentioned this issue Dec 2, 2024
15 tasks
@juliangruber
Copy link
Member Author

Currently, we're recording retrieval stats at a network level in InfluxDB:

https://github.com/filecoin-station/spark-evaluate/blob/2d5608acbac88eb7bd190bd1e9ca91172ffc530d/lib/evaluate.js#L153-L156

This is then observed, persisted and re-exposed in spark-stats:

https://github.com/filecoin-station/spark-stats/blob/ba50a07bff3f61e476e92c6feead99c7dac6a2a6/observer/lib/observer.js#L100-L131

and

https://github.com/filecoin-station/spark-stats/blob/ba50a07bff3f61e476e92c6feead99c7dac6a2a6/stats/lib/stats-fetchers.js#L254-L272

We could either add a SP dimension to the data in InfluxDB, or move this to spark-evaluate's Postgres database.

@bajtos bajtos mentioned this issue Jan 6, 2025
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants