Metric
The user can monitor and manage metrics for service resources in the Samsung Cloud Platform Console.
Check the metric
You can check the metrics available on ServiceWatch.
To check the metrics, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the metric menu. It moves to the metric page.
- Metric page’s metric list, please check the metric.
| Classification | Detailed Description |
|---|---|
| Metric list area | List of metrics that can be monitored in ServiceWatch
|
| search filter area | namespace-dimension name, metric name, resource name, resource ID, tag-key set after, filter apply button click to filter the metric list
|
Managing Metric Charts
You can add the chart of monitoring result metrics as a widget or manage the data.
Add as a widget
To check the metric, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the metric menu. It moves to the metric page.
- Metric page, select the metric to be monitored from the list of metrics. The monitoring chart for the selected metric will be displayed in the Selected Metric area at the bottom.
- Selected Metric area’s monitoring chart, set the table area, then click the More > Add Widget button. The Add Widget popup window opens.
- Select the widget addition method and enter the required information. The required information varies depending on the addition method.
| Classification | Necessity | Detailed Description |
|---|---|---|
| Replication method | Required | After replicating the widget, select the dashboard to add
|
| Dashboard selection | Required | Select a dashboard to add a replicated widget among the existing created dashboards
|
| Dashboard Name | Required | Enter the name of the new dashboard to be created
|
| Widget Name | Required | Enter the name of the widget when adding it to the dashboard
|
- When the required information input is complete, click the completed button. A pop-up window announcing the addition of the widget will open.
- Click the Confirm button on the popup window. A widget will be added to the corresponding dashboard.
Monitoring chart file download
You can download the monitoring chart information in the form of a file.
To download the monitoring chart information, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the metric menu. It moves to the metric page.
- Metric page, select the metrics to be monitored from the metric list. The monitoring chart for the selected metric will be displayed in the Selected Metric area below.
- Selected metric area’s monitoring chart, set the table area, then click the More > File Download button. The File Download popup window will open.
- Select the file download method, then click the Confirm button. The download will start.
- The download methods can be selected simultaneously.
| Classification | Detailed Description |
|---|---|
| CSV | Convert chart metrics and monitoring data to Excel (*.csv) file for download |
| PNG | chart to image(*.png) file conversion and download |
Export to Object Storage
You can store monitoring chart data in Object Storage.
Object Storage requires user privileges to store.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
To store monitoring chart data in Object Storage, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Metrics menu. It moves to the Metrics page.
- Metric page, select the metric to be monitored from the metric list. The monitoring chart for the selected metric will be displayed in the Selected Metric area at the bottom.
- Selected metric area’s monitoring chart, set the table area, then click the More > Object Storage Export button. The Object Storage Export popup window will open.
- After selecting a bucket to store the data, click the Complete button. A popup window announcing data storage will open.
- Click the Confirm button in the popup window. Data export will begin.
- The restrictions on the metrics that can be exported to Object Storage are as follows.
- Number of metrics: 10 or less
- Inquiry period: within 2 months (63 days)
- If the search period exceeds 2 months (63 days), only data for up to 63 days will be stored.
- If there is no Object Storage to store the metric data, create an Object Storage and proceed.
- Metric data is stored in “metric name-yyyymmddhhmmss.json” file format and can be found in the ~/servicewatch/metric path of the Object Storage bucket.
Monitoring chart source view
You can check the source code of the monitoring chart.
To check the source code of the monitoring chart, follow the next procedure.
- All services > Management > ServiceWatch menu, click. It moves to the Service Home page.
- Service Home page, click the Metrics menu. It moves to the Metrics page.
- Metric page, select the metrics to be monitored from the list of metrics. The monitoring chart for the selected metric will be displayed in the Selected Metric area below.
- Selected Metric area’s monitoring chart, set the table area, then click the More > View Source button. The Widget Source View popup window opens.
| Classification | Detailed Description |
|---|---|
| Source Information | Displays the source code of the monitoring chart in JSON format |
| code copy | copy source code to clipboard |