Access and Limits

Accessing the Monitoring Service is essential for managing your OCI resources effectively. There are various methods to access it:

OCI Console Navigation

You can easily access the Monitoring Service through the OCI Console. Simply navigate to the Observability and Management section to get started.

API, SDKs, and CLI

For more advanced users, APIs, Software Development Kits (SDKs), or Command-Line Interface (CLI) can be utilized to interact with the Monitoring Service efficiently.

Exploring Metrics with Metric Explorer

The Metric Explorer is a powerful tool within the Monitoring Service UI that allows you to build and analyze queries. Here, you can leverage two distinct modes:

Basic Mode

A user-friendly interface-driven mode suitable for beginners.

Advanced Mode

Ideal for experienced users comfortable with writing queries using Monitoring Query Language expressions. This mode offers advanced statistical functions like average and increment.

Utilizing CLI for Monitoring

The CLI offers direct access to Monitoring Service functionalities. Here are some examples:

  • Listing Metrics: OCI monitoring metric list retrieves metric definitions.
  • Listing Alarms: OCI monitoring alarm list displays configured alarms.
  • Posting Metric Data: OCI monitoring metric data post allows you to publish raw metric data points.
  • Creating Alarms: OCI monitoring alarm create facilitates alarm creation.
  • Deleting Suspended Alarms: OCI monitoring suppression remove deletes suspended alarms.

IAM Integration for Security

The Monitoring Service seamlessly integrates with Identity and Access Management (IAM) for robust authentication and authorization. Here’s how you can manage access:

IAM Policies

IAM policies allow you to define access rules based on your organization’s needs. For example:

  • Alarm-Viewers Group: Assign policies to allow viewing alarms and retrieving metrics.
  • Alarm-Admins Group: Provide permissions for managing alarms and metrics.
  • Metric-Readers Group: Limit access to reading metrics in specific compartments.
  • Metric-Developers Group: Enable creating metric definitions and custom metric queries.

Limits to Keep in Mind

While the Monitoring Service offers extensive capabilities, it’s crucial to be aware of its limitations:

  • Storage Limits: Metric definitions are stored for up to 14 days, and alarm history for up to 90 days.
  • Dynamic Limits: There are dynamic limits on metric streams based on query complexity and aggregation requirements.

Conclusion

In this lesson, we’ve explored the various avenues for accessing the Monitoring Service, delved into IAM policies for secure access management, and highlighted important limits to consider. By understanding these aspects, users can effectively monitor and manage OCI resources with confidence.

Previous
Notification Service
Next
Service Metrics