mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
render.detailed: Teach detailed node view how to display ECS topologies as children
Previously, they were omitted.
This commit is contained in:
@@ -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"
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user