Skip to content

Commit 6643f12

Browse files
committed
Theta. Fixed CW dashboard after refactoring
1 parent 401f47f commit 6643f12

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/theta/lib/assets/node-cw-dashboard.ts renamed to lib/theta/lib/constructs/node-cw-dashboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export const SyncNodeCWDashboardJSON = (instanceType: string, dataVolumeType: st
230230
"type": "metric",
231231
"properties": {
232232
"metrics": [
233-
[ "CWAgent", "disk_used_percent", "path", "/data", "InstanceId", "${INSTANCE_ID}", "device", disk_name, "fstype", "xfs", { "region": "${REGION}", "label": "/data" } ]
233+
[ "CWAgent", "disk_used_percent", "path", "/data", "InstanceId", "${INSTANCE_ID}", "device", disk_name, "fstype", "ext4", { "region": "${REGION}", "label": "/data" } ]
234234
],
235235
"sparkline": true,
236236
"view": "singleValue",

lib/theta/lib/single-node-stack.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ import * as cdk from "aws-cdk-lib";
22
import * as cdkConstructs from "constructs";
33
import * as ec2 from "aws-cdk-lib/aws-ec2";
44
import * as iam from "aws-cdk-lib/aws-iam";
5-
import * as secrets from "aws-cdk-lib/aws-secretsmanager";
65
import * as s3Assets from "aws-cdk-lib/aws-s3-assets";
76
import * as path from "path";
87
import * as fs from "fs";
9-
import * as nodeCwDashboard from "./assets/node-cw-dashboard"
8+
import * as nodeCwDashboard from "./constructs/node-cw-dashboard"
109
import * as cw from 'aws-cdk-lib/aws-cloudwatch';
1110
import * as constants from "../../constructs/constants";
1211
import { SingleNodeConstruct } from "../../constructs/single-node"

0 commit comments

Comments
 (0)