Skip to content

Commit f815807

Browse files
committed
fix lint
1 parent b179875 commit f815807

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

lib/single-new-eks-opensource-observability-construct/graviton-index.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ export default class SingleNewEksOpenSourceGravitonObservabilityConstruct {
1111
constructor(scope: Construct, id: string) {
1212
// AddOns for the cluster
1313
const stackId = `${id}-observability-accelerator`;
14-
// All Grafana Dashboard Default URLs
15-
const clusterDefaultDashUrl = "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/cluster.json";
16-
const kubeletDefaultDashUrl = "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/kubelet.json";
17-
const namespaceWorkloadsDefaultDashUrl = "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/namespace-workloads.json";
18-
const nodeExporterDefaultDashUrl = "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/nodeexporter-nodes.json";
19-
const nodesDefaultDashUrl = "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/nodes.json";
20-
const workloadsDefaultDashUrl = "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/workloads.json";
2114

2215
const account = process.env.COA_ACCOUNT_ID! || process.env.CDK_DEFAULT_ACCOUNT!;
2316
const region = process.env.COA_AWS_REGION! || process.env.CDK_DEFAULT_REGION!;
@@ -30,7 +23,7 @@ export default class SingleNewEksOpenSourceGravitonObservabilityConstruct {
3023
const clusterDashUrl: string = utils.valueFromContext(scope, "cluster.dashboard.url", undefined);
3124
const kubeletDashUrl: string = utils.valueFromContext(scope, "kubelet.dashboard.url", undefined);
3225
const namespaceWorkloadsDashUrl: string = utils.valueFromContext(scope, "namespaceworkloads.dashboard.url", undefined);
33-
const nodeExporterDashUrl: string = utils.valueFromContext(scope, "nodexporter.dashboard.url", undefined);
26+
const nodeExporterDashUrl: string = utils.valueFromContext(scope, "nodeexporter.dashboard.url", undefined);
3427
const nodesDashUrl: string = utils.valueFromContext(scope, "nodes.dashboard.url", undefined);
3528
const workloadsDashUrl: string = utils.valueFromContext(scope, "workloads.dashboard.url", undefined);
3629

@@ -83,7 +76,7 @@ export default class SingleNewEksOpenSourceGravitonObservabilityConstruct {
8376
version: eks.KubernetesVersion.of("1.27"),
8477
instanceTypes: [new ec2.InstanceType("m7g.large")],
8578
amiType: eks.NodegroupAmiType.AL2_ARM_64,
86-
}
79+
};
8780

8881
EksBlueprint.builder()
8982
.account(account)

0 commit comments

Comments
 (0)