Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ipfs-cluster-ctl alerts #165

Open
hsanjuan opened this issue Oct 5, 2017 · 2 comments
Open

ipfs-cluster-ctl alerts #165

hsanjuan opened this issue Oct 5, 2017 · 2 comments
Labels
exp/intermediate Prior experience is likely helpful help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P3 Low: Not priority right now status/ready Ready to be worked

Comments

@hsanjuan
Copy link
Collaborator

hsanjuan commented Oct 5, 2017

This would show things which are obviously wrong with a cluster. Example:

ipfs-cluster-ctl alerts
Peer Qmxxx is down
Cid Qmabc is underallocated
Cid Qmaie is in PIN_ERROR state on peer Qmssq
@hsanjuan hsanjuan added exp/intermediate Prior experience is likely helpful kind/enhancement A net-new feature or improvement to an existing feature help wanted Seeking public contribution on this issue P3 Low: Not priority right now status/ready Ready to be worked labels Oct 5, 2017
@hsanjuan
Copy link
Collaborator Author

#17 is probably related

@hsanjuan hsanjuan modified the milestones: Replication factor, Member add/remove support, All open issues with difficulty:medium or lower are fixed [Q4O1] Oct 10, 2017
@hsanjuan hsanjuan removed this from the Open issues with difficulty:medium or lower milestone Jun 26, 2018
@kishansagathiya
Copy link
Contributor

Current Alert struct only deals with peers.

  • it should be able to be used for different resources such as cluster peer, ipfs peer, pin.
  • information contained in it should come with an expiry.

Effectively Alert is a summery metric which we release when we observe something going wrong. So, we should be able to use the struct used for metric as for Alert

Or Alert could be modified to have

  • expiry int64
  • about string (this would contain resource id: cid or peer id)
  • value int (enum for alert messages like PEER_DOWN, PIN_FAILED, IPFS_PEER_DOWN)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
exp/intermediate Prior experience is likely helpful help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P3 Low: Not priority right now status/ready Ready to be worked
Projects
None yet
Development

No branches or pull requests

2 participants