Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Feature Request: Show public host statistics #27

Closed
justmoon opened this issue Jun 6, 2018 · 6 comments
Closed

Feature Request: Show public host statistics #27

justmoon opened this issue Jun 6, 2018 · 6 comments
Assignees

Comments

@justmoon
Copy link
Contributor

justmoon commented Jun 6, 2018

It would be very useful if each host reported basic stats like the number of running contracts.

@justmoon justmoon changed the title Feature Request: Show host statistics Feature Request: Show public host statistics Jun 7, 2018
@adrianhopebailie
Copy link
Contributor

PROPOSAL

  • Bind GET /pods to PodDatabase.getRunningPods()
  • Bind GET / to a static index.html which populates a list of running pods by fetching /pods

@njlie njlie self-assigned this Jun 7, 2018
@andywong418 andywong418 self-assigned this Jun 7, 2018
@andywong418
Copy link
Contributor

Should we even show these statistics and if so, what are we showing?

@ghost
Copy link

ghost commented Jun 9, 2018

Very interested in this as currently I’m unsure of a way we can monitor/log/display any running contracts

@justmoon
Copy link
Contributor Author

Question is whether it's a good idea to make this information public. On one hand, URLs shouldn't be considered private. On the other hand, this feature definitely makes an attacker's life a lot easier to scan for vulnerable contracts. Or if you are trying to DoS a certain contract, you can use this to chase it.

Independent of that, I like the idea of providing an index.html with some useful information like whether the host is full etc.

@PW2512 The host can see contracts running on their host with hyperctl list.

@lazmo88
Copy link

lazmo88 commented Jun 12, 2018

@justmoon: Independent of that, I like the idea of providing an index.html with some useful information like whether the host is full etc.

How about just displaying available pod "slots" vs "slots" occupied without any sensitive information about the pods itself? 🤔

@andywong418
Copy link
Contributor

Closed in pull request #50 and #39

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants