Skip to main content

Use explorer

Use the explorer to view metrics and logs collected by the Monitoring service on a per-resource basis for each service. When alarms are triggered by metric or log policies, you can use the explorer to examine metric and log variations for affected resources.

Use metric explorer​

The metric explorer allows you to view available metrics for each service and display them in charts.

Supported services and metric details

View chart using selected metric​

Use the metric explorer to generate charts from selected metrics.

  1. Go to KakaoCloud console > Management > Monitoring.

  2. Go to Explorer > Metric explorer and configure the options.

  3. Use datasets and filters to view metrics.

    Metric selection

    ItemDescription
    ① Query mode switchChanges the data query mode. Switching modes resets all inputs except the selected service.
    - Off (default): Select metrics in the UI
    - On: Query metrics directly with PromQL
    ② Chart typeLine chart: Shows metric changes over time as a line
    - Area chart: Shows changes using a line and a shaded area
    ③ Time filterQuery period for the selected metric
    - Default: Past 1 hour
    - Select a preset or custom dates
    ④ Select data 1Configure up to 5 datasets per chart, using different services and metrics in one chart
    ⑤ ServiceService to which the monitored resource belongs
    - See Supported services for availability by region
    ⑥ MetricMetric to monitor, such as CPU usage
    - If no metrics are available, change the chart time range
    ⑦ FilterFilter by resource or metric detail. Select a condition, regular expression, and value, then click [+]. Multiple filters use AND logic.
    ⑧ Functions/Group byFunctions: Aggregate raw data with avg, min, max, sum, count, increase, or rate over 1, 5, 10, or 60 minutes
    - Group by: Group data by a field, such as resource ID, and an aggregation, such as avg, max, or min
    ⑨ Chart/tableChart for the selected metric and period, with a table of the resources shown in the chart
    Using Functions
    • When you select rate, the chart shows the number of events per second. For example, with a 1-minute interval, the chart shows the number of events during that minute divided by 60 seconds. When you select increase, the chart shows the total number of events during the selected interval.
    • Both functions require at least two valid data points within the selected interval. If the interval is shorter than the metric collection interval, the chart and data might be empty. If a chart does not display correctly when you use rate or increase, select a longer interval or adjust the query time range.

View chart using metric query​

Use PromQL to query metrics and view them in chart form.

  1. Go to KakaoCloud console > Management > Monitoring.

  2. Go to Explorer > Metric explorer and turn on Query mode. Switching modes resets all inputs except the selected service.

  3. Select a service, enter a query, and click [View chart].

    Metric query

    ItemDescription
    Metric queryEnter a PromQL query. Autocomplete is available for commands and resources. For usage, see the official examples.

Log explorer​

Use the log explorer to view logs collected from agent-installed instances. You can view logs from the past 5 days.

Services supported by Log explorer

Beyond Compute Service, MySQL, MemStore, PostgreSQL, Advanced Managed Prometheus, and Advanced Managed Search

View logs​

  1. Go to KakaoCloud console > Management > Monitoring.
  2. Go to Explorer > Log explorer to view the log list and details.
ItemDescription
Collection dateDate the log was collected
Monitoring log IDUUID automatically assigned when a log is generated
Instance IDID of the instance where the log was generated
Log contentClick [⌄] on a log row to view details

Search logs​

Use log attributes as filters to find logs that match your conditions.

info

If the keyword contains special characters such as -, _, or /, wrap it in quotes (" "). Examples: "host-name", "/folder/sub", "instance-id"

  1. Go to KakaoCloud console > Management > Monitoring.

  2. In the Log explorer, use the search field or filter attributes to search logs.

    • Filters vary depending on the service.
    • When using attributes, a search chip is added. You can add multiple chips.
      Search chips use AND logic.
    Filter fieldServiceDescription
    Instance IDBeyond Compute ServiceSearch by the ID of the instance whose logs you want to view
    Instance nameMySQL, MemStore, PostgreSQLSearch by instance name
    Log contentAllSearch log content by keyword
    Host nameBeyond Compute Service, MySQL, MemStore, PostgreSQLSearch by the host name assigned to an instance
    Workspace nameAdvanced Managed PrometheusSearch by workspace name
    Workspace IDAdvanced Managed PrometheusSearch by workspace ID
    File pathBeyond Compute Service, MySQL, MemStoreSearch log file paths by keyword
  3. After setting the conditions, search results are displayed in both chart and log list formats.