Announcements

#mackerelio

Downtime settings now preview the target hosts, and more

Hi, I'm KGA from the Mackerel CRE team. Here are the latest updates.

Downtime settings now preview the target hosts

When creating or editing a downtime, you can now see a list of the hosts that match the conditions you are configuring.

Preview of target hosts filtered by service and role
Preview of target hosts filtered by service and role

Downtimes let you narrow down their targets by specifying services and roles. Previously, however, there was no way to check on the settings screen which hosts would actually be affected. With this update, you can review the result of combining the services and roles to include and exclude before saving.

Being able to confirm in advance that only the intended hosts are targeted makes it easier to avoid accidentally including hosts that you want to keep monitoring.

Please note that the preview shows the hosts that match the conditions at the time you configure the downtime. If, for example, a role is newly assigned to a host after the downtime is set, the hosts actually affected may change.

For details on configuring downtimes, see the following documentation:

Log search can now distinguish between keys containing . and nested keys

In the log feature (currently in open beta), you can now distinguish between key names that contain . and nested keys when searching structured logs.

For example, consider the following log:

{
  "msg": "request completed",
  "k8s.pod.name": "web-5b8c2",
  "http": {
    "request": {
      "method": "POST"
    }
  },
  "deployment": {
    "environment.name": "production"
  }
}

A key name containing ., such as k8s.pod.name, and a nested key, such as http → request → method, are both written by joining the parts with .. Because they look the same, it was previously not possible to tell them apart when specifying a key.

With this update, any part enclosed in double quotes is treated as a single key name, while a . outside double quotes is treated as a separator between nested levels.

How to specify Target key
"k8s.pod.name" The key named k8s.pod.name
http.request.method method under request under http
deployment."environment.name" The key named environment.name under deployment

Searching by the key name "k8s.pod.name"
Searching by the key name "k8s.pod.name"

When you select a key from the suggestions in the search field, or filter by clicking a value in the log details, this notation is applied automatically.

This lets you filter precisely by the intended field, even in logs that mix keys containing ., such as attribute names that follow the OpenTelemetry semantic conventions, with nested JSON output by your application.

Auto-refresh is now paused when the dashboard display period is 30 days or longer

Auto-refresh of custom dashboards is now paused when the display period is 30 days or longer. This applies not only to the display period of the whole dashboard but also when a relative period set individually on a graph widget is 30 days or longer.

Among the display period preset buttons, this applies when you select "1M" or longer. It also applies when you specify a period of 30 days or longer from the calendar button.

Auto-refresh is disabled because 1Y is selected
Auto-refresh is disabled because 1Y is selected

While paused, the auto-refresh toggle is disabled, and hovering over it shows why auto-refresh has been paused. If the pause is caused by a graph widget's relative period, the name of that widget is also shown. When you change the display period back to less than 30 days, auto-refresh resumes with your original setting.

For details on dashboards, see the following documentation: