Module Reference / @tinystacks/ops-aws-core-widgets / AwsCloudWatchMetricGraph
Interface: AwsCloudWatchMetricGraph
@tinystacks/ops-aws-core-widgets.AwsCloudWatchMetricGraph
Example
CPUMetrics:
type: AwsCloudWatchMetricGraph
displayName: CPU Utilization Details
region:
$ref: '#/Console/widgets/EcsInfo'
path: region
period: 300
providers:
- $ref: '#/Console/providers/AwsProvider'
timeRange:
time: 1
unit: h
metrics:
- metricNamespace: AWS/ECS
metricName: CPUUtilization
metricDisplayName: 'Average'
statistic: Average
dimensions:
- key: ClusterName
value: $param.clusterName
- key: ServiceName
value: $param.serviceName
- metricNamespace: AWS/ECS
metricName: CPUUtilization
metricDisplayName: 'Max'
statistic: Maximum
dimensions:
- key: ClusterName
value: $param.clusterName
- key: ServiceName
value: $param.serviceName
- metricNamespace: AWS/ECS
metricName: CPUUtilization
metricDisplayName: 'Min'
statistic: Minimum
dimensions:
- key: ClusterName
value: $param.clusterName
- key: ServiceName
value: $param.serviceName
Hierarchy
↳ AwsCloudWatchMetricGraph
Table of contents
Properties
- additionalProperties
- childrenIds
- description
- displayName
- displayOptions
- id
- metrics
- providerIds
- region
- timeRange
- type
Properties
additionalProperties
• Optional
additionalProperties: any
Inherited from
Widget.additionalProperties
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:30
childrenIds
• Optional
childrenIds: string
[]
Inherited from
Widget.childrenIds
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:18
description
• Optional
description: string
Inherited from
Widget.description
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:19
displayName
• displayName: string
A human-readable display name, usually used to title a widget
Inherited from
Widget.displayName
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:12
displayOptions
• Optional
displayOptions: Object
Type declaration
Name | Type | Description |
---|---|---|
showDescription? |
boolean |
Whether to show the description |
showDisplayName? |
boolean |
Whether to show the display name |
Inherited from
Widget.displayOptions
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:20
id
• id: string
Unique Id for this widget.
Inherited from
Widget.id
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:8
metrics
• metrics: Metric
[]
Defined in
node_modules/@tinystacks/ops-aws-core-widgets/dist/ops-types.d.ts:242
providerIds
• Optional
providerIds: string
[]
Inherited from
Widget.providerIds
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:17
region
• Optional
region: string
Defined in
node_modules/@tinystacks/ops-aws-core-widgets/dist/ops-types.d.ts:240
timeRange
• Optional
timeRange: TimeRange
Defined in
node_modules/@tinystacks/ops-aws-core-widgets/dist/ops-types.d.ts:241
type
• type: string
This describes how this widget should be rendered. The "type" should be equivalent to the Object definition's name of the widget you are trying to render.
Inherited from
Widget.type
Defined in
node_modules/@tinystacks/ops-model/dist/models/Widget.d.ts:16