weaveworks / scope

Monitoring, visualisation & management for Docker & Kubernetes

Home Page:https://www.weave.works/oss/scope/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I get container association result information from weave scope?

AnyuanLuo opened this issue · comments

I want to get the associated data between the containers instead of visualizing them in the browser. Is there have a weave scope API, for example, the API will output containers which associated the container1?

Hi @AnyuanLuo,

There is a short API endpoints listing in Scope FAQ section - https://github.com/weaveworks/scope/blob/master/site/faq.md#api-endpoints.

Specifically, you can probe /api/topology/containers to get the info on all containers and /api/topology/containers/[NODE_ID] to get the info on a specific container, provided its internal ID.

I hope this answers your question.

Thank you! That's Exactly what I need!

Thank you! That's Exactly what I need!

You're welcome! In that case, I'm closing down the issue :)