Observability services - gives you the visibility into the performance and health of your resources on IBM Cloud. You can use these services to troubleshoot your apps and services, identify threats, detect performance issues, trigger alerts and more. IBM Cloud offers the following observabilty services, to solve you logging and monitoring needs:
- IBM Cloud Activity Tracker - to gain insights on actions that change the state of a service in the IBM Cloud.
- IBM Log Analysis - to gain insights into your system and application logs.
- IBM Cloud Monitoring - to monitor the health of services and applications in IBM Cloud.
Use this automation to simplify the provisioning (and configuration) of all the Observability services, that you need to monitor and manage the health of your application (and/or platform) service. The automation is developed using Terraform, and will ensure that you are adhering to the best-practices.
The following diagram illustrates the deployment architecture used by this automation.
- You must have the following permissions in IBM Cloud Identity and Access Management:
- Manager service access role for IBM Cloud Schematics
- Operator platform role for
IBM Log Analysis
,IBM Cloud Monitoring
, andIBM Cloud Activity Tracker
services.
The Observability services will be deployed in the region
(or location) and resource_group
provided by the user.
In addition, the following inputs must be provided to provision all the Observabilty services:
Input parameter | Description | Default Value | |
---|---|---|---|
resource_group_name | Name of the resource group | mandatory | |
region | Name of the region or location (eg. us-south, eu-de) | mandatory | |
service_plan | Name of the service plan | optional | lite |
observability_instance_name | Name of the Observability service instance | mandatory | |
visibility | Visibility of the observability services(eg. public,private , public-and-private) | optional | public |
observability_resource_key_role | Service role assigned to the resource key, while binding to the observability service instance | optional | Manager |
is_bind_observability_resource_key | True, to bind the resource key to observability servce instance | optional | true |
observability_resource_key_name | name of the observability instance key | optional |
After you provision the Observability services, you can view the following outputs in the Schematics log files, in the Terraform SHOW
section.
Output parameter | Description |
---|---|
log_analysis_instance_id | ID of IBM Log Analysis instance |
monitoring_id | ID of IBM Cloud Monitoring instance |
activity_tracker_id | ID of IBM Cloud Activity Tracker instance |