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

[集成] metrics可视化使用farcaster的可能性? #5137

Closed
1 task
Tracked by #5156
Fatman13 opened this issue Jul 27, 2022 · 4 comments
Closed
1 task
Tracked by #5156

[集成] metrics可视化使用farcaster的可能性? #5137

Fatman13 opened this issue Jul 27, 2022 · 4 comments
Assignees
Labels
C-enhancement Category: feature enhancement design Venus feature/system design issues Epic

Comments

@Fatman13
Copy link
Contributor

Fatman13 commented Jul 27, 2022

背景

动机

farcaster借助storageretrieval deals的filtering hook抓取数据。如果venus有类似的,他们可能可以直接做一个支持。

julien说:

Lotus description of the feature :

https://lotus.filecoin.io/storage-providers/advanced-configurations/market/#using-filters-for-fine-grained-storage-and-retrieval-deal-acceptance

SPs use this hook to enable CIDgravity and start managing their deal flow, example:

Filter = "/opt/CIDgravity-X/CIDgravity-X/cidgravity_storage_connector.py --reject"
RetrievalFilter = "/opt/CIDgravity-X/CIDgravity-X/cidgravity_storage_connector.py --reject"

可以评估下看看?farcaster文档

@Fatman13 Fatman13 added Epic design Venus feature/system design issues C-enhancement Category: feature enhancement labels Jul 27, 2022
@diwufeiwen
Copy link
Contributor

这个和metrics应该不是一回事,lotus那边的metrics在目录 metrics/metrics.go(不是通过filtering hook管理),RetrievalFilter 是针对交易市场的订单数据,并非传统意义的指标数据

@Fatman13
Copy link
Contributor Author

julien说:

Farcaster pulls the data through lotus api, not only metrics.go

@diwufeiwen
Copy link
Contributor

diwufeiwen commented Jul 27, 2022

julien说:

Farcaster pulls the data through lotus api, not only metrics.go

@diwufeiwen
Copy link
Contributor

diwufeiwen commented Jul 28, 2022

lotus-exporter-farcaster 大概看下来是通过api接口请求数据,然后自己制定了一些metrics,这种貌似和我们的初衷不符,如果想要接入,我们的组件不需要实现指标,只需把每个链服务组件的服务监听地址和共享token给到他们,就能实现目前的lotus-exporter-farcaster的效果。个人认为这和我们实现metrics是不同的路子,可以并行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: feature enhancement design Venus feature/system design issues Epic
Projects
Archived in project
Development

No branches or pull requests

3 participants