Skip to content

Commit

Permalink
Merge pull request #2146 from weaveworks/mike/render/fix-ecs-detailed…
Browse files Browse the repository at this point in the history
…-children

render.detailed: Teach detailed node view how to display ECS topologies as children
  • Loading branch information
ekimekim authored Jan 23, 2017
2 parents 036dd07 + eb44e95 commit 19b6d5b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions render/detailed/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/ugorji/go/codec"

"github.com/weaveworks/scope/probe/awsecs"
"github.com/weaveworks/scope/probe/docker"
"github.com/weaveworks/scope/probe/host"
"github.com/weaveworks/scope/probe/kubernetes"
Expand Down Expand Up @@ -176,6 +177,27 @@ var (
},
},
},
{
topologyID: report.ECSService,
NodeSummaryGroup: NodeSummaryGroup{
TopologyID: "ecs-services",
Label: "Services",
Columns: []Column{
{ID: awsecs.ServiceRunningCount, Label: "Running", Datatype: "number"},
{ID: awsecs.ServiceDesiredCount, Label: "Desired", Datatype: "number"},
},
},
},
{
topologyID: report.ECSTask,
NodeSummaryGroup: NodeSummaryGroup{
TopologyID: "ecs-tasks",
Label: "Tasks",
Columns: []Column{
{ID: awsecs.CreatedAt, Label: "Created At", Datatype: "datetime"},
},
},
},
{
topologyID: report.Container,
NodeSummaryGroup: NodeSummaryGroup{
Expand Down

0 comments on commit 19b6d5b

Please sign in to comment.