swarmkit icon indicating copy to clipboard operation
swarmkit copied to clipboard

Metrics Collection

Open aluzzardi opened this issue 10 years ago • 7 comments

We should have a way to do metrics collection, either by supporting a solution and implementing it by documenting it, or shipping with a default.

A possible solution would be to deploy a prometheus and run collectors on every node.

aluzzardi avatar Apr 06 '16 00:04 aluzzardi

/cc @docker/fiesta-cucaracha-maintainers @ehazlett

aluzzardi avatar Apr 06 '16 00:04 aluzzardi

+1 for builtin metrics.

I like the idea of the collector as it keeps things very light on the node side as they just expose their current status and no storage is needed. The collector can then scrape on whatever interval they desire and the processing and storage is on the collector.

ehazlett avatar Apr 06 '16 14:04 ehazlett

Oh wait I think I misunderstood. Would the collector be on each node or external? If on the node, what would it be collecting?

ehazlett avatar Apr 06 '16 14:04 ehazlett

+1 on metric collection. I think it great to have a default and swappable monitoring framework. It enables cluster state reporting, utilization monitoring, alerting, auto-scaling,etc. We may investigate how to deploy it using V2 declarative API.

dongluochen avatar Apr 07 '16 00:04 dongluochen

@ehazlett @dongluochen

This is in the same spirit as #248, summary from the other conversation (with s/logging/metrics/):

We do not support distributed metrics in the product - we just make sure distributed metrics can be deployed on the platform and engines configured to leverage it. Maybe someday we'll auto deploy it, but in the meantime we'll just document it as a recipe.

Makes sense?

aluzzardi avatar Apr 07 '16 04:04 aluzzardi

Labeling this as a docs issue - we'd need to come up with a recipe and make sure it's well supported

/cc @sfsmithcha @mgoelzer

aluzzardi avatar Apr 29 '16 23:04 aluzzardi

Thanks for opening this issue. This has been implemented, so I’m closing it for now.

If you’re still seeing any related behavior, feel free to reopen it or open a new issue with additional details. Thanks!

smerkviladze avatar May 04 '26 11:05 smerkviladze