copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2022-11-05 |
monitoring schematics services, schematics monitoring, monitoring |
schematics |
{{site.data.keyword.attribute-definition-list}}
{: #monitoring-instances}
{{site.data.keyword.mon_full}} is a Third party cloud native, and container intelligence management system that you can include as part of your {{site.data.keyword.bplong_notm}}. Use it to gain operational visibility into the performance and health check of your applications, services, and platforms. It offers administrators, developers full stack telemetry with advanced features to monitor and troubleshoot, define alerts, and design custom dashboards. {: shortdesc}
You need to create Sysdig monitor in us-south
region to view the {{site.data.keyword.bpshort}} metrics that relates to workspaces, actions, or an environment that you create in US
region. And create Sysdig monitor in eu-de
region to view the {{site.data.keyword.bpshort}} metrics that relates to workspaces, actions, or an environment that you create in EU
region.
{: note}
{: #launch-dashboard}
You can monitor your services instance in the {{site.data.keyword.cloud_notm}} console. {: shortdesc}
Complete these steps to view your services instances:
-
Log in to your {{site.data.keyword.cloud_notm}}{: external} account by using your credentials.
-
From the {{site.data.keyword.cloud_notm}} page, select
Navigation menu > Observability > Monitoring
. -
Click your instance to view the workspace and action that you created.
For more information about how to create a service instance? see Create service instance. {: note}
-
Click the
Open dashboard
link, and expandIBM
to view the{{site.data.keyword.IBM_notm}} {{site.data.keyword.bpshort}} Summary Counts
andIBM {{site.data.keyword.bpshort}} Summary Charts
dashboard list.- Use the
{{site.data.keyword.IBM_notm}} {{site.data.keyword.bpshort}} Summary Counts
dashboard to monitor the counts of your workspace state, action, and its success and failure status. - Use the
{{site.data.keyword.IBM_notm}} {{site.data.keyword.bpshort}} Summary Charts
dashboard to monitor the charts of your workspace by state, by type and outcome, and the vulnerability count.
- Use the
{: #create-instance}
You can create your services instance in the {{site.data.keyword.cloud_notm}} console. {: shortdesc}
Complete these steps to create your services instance:
-
Log in to your {{site.data.keyword.cloud_notm}}{: external} account by using your credentials.
-
Select
Navigation menu > Observability > Monitoring
. -
Click
Create
by using your plan. -
Select a region, for example,
Dallas
. -
Create an {{site.data.keyword.mon_full_notm}} instance by using the
Lite plan
. -
Select the instance and accept the license.
-
Click create.
-
Select the created Sysdig instance from the Monitoring page.
-
Click
Configure platform metrics
, select the region and instance that you created to view thePlatform metrics
in theRegion
column. -
Click
View Sysdig
icon to view your workspace and action that you created.You can monitor the status of your workspaces state and action through the {{site.data.keyword.cloud_notm}} dashboards. For more information about monitoring the status, see Monitoring workspace. To create a custom dashboard, see Creating custom dashboard. {: note}
{: #create-dashboard}
You can create your custom dashboard in the {{site.data.keyword.cloud_notm}} console. {: shortdesc}
Complete these steps to create your custom dashboard:
-
Log in to your {{site.data.keyword.cloud_notm}}{: external} account by using your credentials.
-
From the {{site.data.keyword.cloud_notm}} page, select
Navigation menu > Observability > Monitoring
. -
Click
Create Custom Dashboard
to view the create dashboard from template. -
Name your dashboard, and click
Create and Open
. -
Click
Add Dashboard
icon, the New Dashboard page opens. -
Now, you can use
your custom dashboard
to edit the metrics that you want to monitor, the counts of your workspace state, action, and its success and failure status. -
Click
Save
.For more information about deleting a dashboard, see Deleting a dashboard. {: note}
{: #metrics-details}
{{site.data.keyword.bpshort}} supports three metrics that you can use to configure in your dashboard for monitoring. The tables provide the details about the metrics.
Metric name | Enterprise | Lite | Standard |
---|---|---|---|
ibm_schematics_workspace_actions_count |
Yes | No | Yes |
ibm_schematics_workspace_count |
Yes | No | Yes |
ibm_schematics_workspace_vulnerability_count |
Yes | No | Yes |
{: caption="Metrics details" caption-side="bottom"} |
{: #wkspace-count}
The number of workspaces state and actions count is stated in the table. {: shortdesc}
Metadata | Description |
---|---|
Metric Name |
ibm_schematics_workspace_count |
Metric Type |
gauge |
Frequency |
60 seconds |
Unit |
none |
Labels |
ibm_schematics_workspace_status such as Active, Draft, Inactive, and Template Error are derived. |
{: caption="Workspace state and action count" caption-side="bottom"} |
For the {{site.data.keyword.bpshort}} instance, following five different time series counts or charts are derived from ibm_schematics_workspace_count
metric.
Status | Query |
---|---|
Number of workspaces created | Sum(ibm_schematics_workspace_count{}) |
Number of active workspaces | ibm_schematics_workspace_count{ibm_schematics_workspace_status = ”Active”} |
Number of workspaces in draft state | ibm_schematics_workspace_count{ibm_schematics_workspace_status = ”Draft”} |
Number of inactive workspaces | ibm_schematics_workspace_count{ibm_schematics_workspace_status = ”Inactive”} |
Number of workspaces deleted | ibm_schematics_workspace_count{ibm_schematics_workspace_status = ”Template Error”} |
{: caption="Workspace time series count" caption-side="bottom"} |
{: #wkspace-actions-count}
The number of workspace actions count are stated in the table. {: shortdesc}
Metadata | Description |
---|---|
Metric Name |
ibm_schematics_workspace_actions_count |
Metric Type |
gauge |
Frequency |
60 seconds |
Unit |
none |
Labels |
[ibm_schematics_workspace_action are apply, destroy, and plan ibm_schematics_workspace_action_status such as failure or success are supported.] |
{: caption="Workspace actions count" caption-side="bottom"} |
For the {{site.data.keyword.bpshort}} instance, following six different time series counts or charts are derived from ibm_schematics_workspace_actions_count
metric.
Status | Query |
---|---|
Number of workspace actions | Sum(ibm_schematics_workspace_actions_count {}) |
Number of successful workspace actions | ibm_schematics_workspace_actions_count{ibm_schematics_workspace_action_status="success"} |
Number of failure workspace actions | ibm_schematics_workspace_actions_count{ibm_schematics_workspace_action_status="failure"} |
Number of plan actions | ibm_schematics_workspace_count{ibm_schematics_workspace_action = "Plan"} |
Number of successful plan actions | ibm_schematics_workspace_count{ibm_schematics_workspace_action = ”Plan”, ibm_schematics_workspace_action_status="success"} |
Number of failure plan actions | ibm_schematics_workspace_count{ibm_schematics_workspace_action = ”Plan”, ibm_schematics_workspace_action_status="failure"} |
{: caption="{{site.data.keyword.bpshort}} time series counts" caption-side="bottom"} |
You can create similar queries to fetch apply
, destroy
, and plan
actions.
{: note}
{: #wkspace-vulnerability-count}
Average vulnerability count of the workspaces is stated in the table. {: shortdesc}
Metadata | Description |
---|---|
Metric Name |
ibm_schematics_workspace_vulnerability_count |
Metric Type |
gauge |
Frequency |
60 minutes |
Unit |
none |
Labels |
[ibm_schematics_vulnerability_count, such as average] |
{: caption="Vulnerability count" caption-side="bottom"} |
For the {{site.data.keyword.bpshort}} instance, following time series counts and charts are derived from ibm_schematics_workspace_vulnerability_count
metric.
Status | Query |
---|---|
Number of workspaces currently managed | avg(avg(ibm_schematics_vulnerability_count)) |
{: caption="Vulnerability count of {{site.data.keyword.bpshort}} Workspace" caption-side="bottom"} |