mirror of
https://github.com/yldio/copilot.git
synced 2024-12-29 05:10:05 +02:00
fix(cp-frontend): don't require metrics for topology
This commit is contained in:
parent
b89d1ad686
commit
b918a5bb66
@ -5,7 +5,7 @@ import styled from 'styled-components';
|
||||
import forceArray from 'force-array';
|
||||
import unitcalc from 'unitcalc';
|
||||
|
||||
import ServicesQuery from '@graphql/Services.gql';
|
||||
import ServicesQuery from '@graphql/ServicesTopology.gql';
|
||||
import { processServicesForTopology } from '@root/state/selectors';
|
||||
import { toggleServicesQuickActions } from '@root/state/actions';
|
||||
import { withNotFound, GqlPaths } from '@containers/navigation';
|
||||
|
26
packages/cp-frontend/src/graphql/ServicesTopology.gql
Normal file
26
packages/cp-frontend/src/graphql/ServicesTopology.gql
Normal file
@ -0,0 +1,26 @@
|
||||
#import "./DeploymentGroupInfo.gql"
|
||||
#import "./ServiceInfo.gql"
|
||||
|
||||
query Services($deploymentGroupSlug: String!) {
|
||||
deploymentGroup(slug: $deploymentGroupSlug) {
|
||||
...DeploymentGroupInfo
|
||||
services {
|
||||
...ServiceInfo
|
||||
branches {
|
||||
name
|
||||
slug
|
||||
instances {
|
||||
id
|
||||
status
|
||||
healthy
|
||||
}
|
||||
}
|
||||
connections
|
||||
instances {
|
||||
id
|
||||
status
|
||||
healthy
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user