Mackerel blog #mackerelio

The Official Blog of Mackerel

Upgrade option now available with mkr v0.28.0 release etc.

Hello there! My name is Miura (id:missasan) and I recently joined the Mackerel team as a CRE.

It’s been just about a month since joining the company and this is my first update announcement. I think there will be plenty of opportunities to meet and greet at future events and through support contact. I’m looking forward to it!

Now on to this week’s update information.

Upgrade option now available with mkr v0.28.0 release

An upgrade option has been added to mkr command. With this option, file downloading will only be executed when the specified version of the plugin is not installed.

By adding the upgrade option as shown here mkr plugin install --upgrade mackerelio/mackerel-plugin-sample@v0.0.2 and then installing, the following behavior will occur.

  • If a plugin with the same release tag has already been installed, the installation process will finish without downloading.
  • Only when the release tags differ, will the file be downloaded and the plugin binary placed.

Up until now, when running mkr plugin install mackerelio/mackerel-plugin-sample@v0.0.2, the file download would take place regardless of whether a plugin of the same release had already been installed or not. So, when using built-in provisioning tools like Ansible or Chef, the file would download every time, making them difficult to use. Now, with this week’s release of the upgrade option, it’s possible to download only the necessary files.

Additionally, you can also use the upgrade option to downgrade. For example, if v.0.0.2 is currently installed and v0.0.1 is then specified and executed, v0.0.1 will be installed.

A link to the help page was added under the toggle button of the experimental feature setting

If you want to check out what experimental features are available or learn more about them before enabling, we’ve added a link to the help page just under the feature’s toggle button in settings for your convenience.

To learn more about the features available, refer to "Currently provided experimental features" section located at the bottom of the help page.

Currently, there are two experimental features available: Expression monitoring and Displaying customized graphs. If you haven’t used the experimental features yet, by all means, take a look.

Updates for Mackerel related OSS

Updates for various Mackerel related OSS were made this week and the details follow below. A big thanks to everyone who contributed!

mackerel-agent v0.54.1

  • EC2 instance recognition for mackerel-agent has been improved.
  • When starting mackerel-agent, the message outputted when checking host information has been changed from WARNING to INFO.

go-check-plugins v0.19.0

  • [check-ldap] newly added to the package
  • [check-http] The string check option --pattern has been added. This option supports regular expressions.

You can now change the number of display graph columns with keyboard shortcuts etc.

Hello! Mackerel team CRE Inoue (id:a-know) here.

I hope you all have had the chance to enjoy the cherry blossoms. I was thinking about going to relax in the park near my house this next weekend, but I'm a little worried they might all be gone by then...

Anyways, now on to this week’s update information.

You can now change the number of display graph columns with keyboard shortcuts

The ability to change the number of display graph columns has been newly added to Mackerel keyboard shortcut feature. The shortcut cheat-sheet can be viewed by pressing ? from the Mackerel screen.

You can increase the number of graph columns (each graph reduces in size) with the [ key, and you can reduce the number of display graph columns (each graph is enlarged) with the ] key. Be sure to try it out.

MemAvailable can now be obtained as system metrics

With last week’s release of mackerel-agent v0.54.0, MemAvailable is now available for relatively new Linux users. A separate announcement regarding this was made last week.

Please check out the blog entry below for more details.

mackerel.io

Release of mackerel-agent v0.54.0

In addition to the MemAvailable support mentioned above, we’ve also made improvements to the process of determining Amazon EC2 instances.

Announcement regarding improvements to mackerel-agent’s Linux memory usage rate calculation method and specification adjustments

As stated in the title, with this week’s release of mackerel-agent v0.54.0, the calculation method for the memory usage rate in the new Linux has changed. With this new support, calculation of the memory usage rate is now more accurate than before. The following are supported.

  • Linux kernel 3.14 or later
  • Or environments where MemAvailable is backported to /proc/meminfo

Specifically, Ubuntu 16.04 or later, Debian 8 or later, CentOS 6.6 or later, Amazon Linux 2014.09 or later, etc.

Along with this, the display and items of stacked graphs for system metric memory regarding the target host have also changed. The specifics are as follows.

  • Existing environments: used + buffers + cached + free = total
  • Target environments: used + available = total

In contrast with existing environments, only “available” is stacked along with “used” and displayed in the target environments. This is due to the fact that the breakdown of Linux memory usage has become more complex in recent years, and “buffers” and “cached” are no longer necessarily freeable memory.

With this change, it is now possible to obtain a more accurate memory utilization rate. However, because there is a possibility that the value trend may change, please take the time to review your monitoring settings and such as necessary.

Thank you for choosing Mackerel.

Updates for Mackerel related OSS etc.

Updates for Mackerel related OSS

Updates for various Mackerel related OSS were made this week and the details follow below. A big thanks to everyone who contributed!

mackerel-agent v0.53.0

  • Now supported with Amazon EC2 C5 instances.
    • EC2 Instance Info can now be obtained.
  • Diagnostic mode (diagnostic = true) has been improved.

mackerel-agent-plugins v0.46.0

  • [redis] now monitors uptime
  • [redis] now calculates and sends difference values as expired_keys metrics.

mackerel-check-plugins v0.18.0

  • [http] Headers can now be added when sending requests.

Other OSS

  • ansible-mackerel-agent v0.8.0
    • Now supported with Amazon Linux 2 and major distributions.
  • itamae-plugin-recipe-mackerel-agent v0.0.3
    • Now supported with Amazon Linux 2 and major distributions.

AWS Integration now supported with MySQL5.7/PostgreSQL compatible Amazon Aurora!

Last November, Amazon Aurora released PostgreSQL compatibility and MySQL 5.7 compatibility in February of this year. We are pleased to announced that AWS Integration is now supported as well!

Improvements are constantly being made to the Mackerel UI

Hello! Mackerel Team Director id:daiksy here.

In Japan, we use the expression “Sankanshion” to describe the changing weather one often experiences around late Winter and early Spring. The temperature changes are intense here, but it seems as though Spring is gradually approaching.

I work from our Kyoto office, and as it gets warmer, this area starts to become more lively with all the cherry blossom viewing and other events.

Here is this week’s update information.

You can now edit directly from the custom dashboard list

Up until now, editing the custom dashboard was done through a permalink, but now we’ve added a button which gives you the ability to edit directly from the list.

In Mackerel, we are constantly making efforts to improve our UI, but these aren’t always included in our weekly announcements. For example, we’ve made it easier to adjust the list screen order to better fit the users’ specific situation, and we’ve also made changes to the on-screen button layout.

Every Scrum Sprint, the Mackerel team holds a UI / UX meeting and we talk in detail about what kind of UI improvements need to be made. We discuss feedback that we’ve received from user inquiries and our actual experience with things we’ve found difficult to use. Although less noticeable compared to some of the larger feature developments, these UI improvement updates are made every week.

Mackerel at JAWS DAYS 2018

jawsdays2018.jaws-ug.jp (Japanese only)

The other day, Mackerel’s very own id:Songmu gave a presentation at the JAWS DAYS 2018 lunch session and talked about hints and other useful ways of using AWS with Mackerel.

To all of you who attended, thank you very much!

Metric graphs can now be displayed in 4 columns etc.

Hello! Mackerel team CRE Inoue (id:a-know) here.

Although the morning hours are still pretty chilly, the temperature is finally starting to feel a little spring-like. I’ve never had pollen allergies before, but this year my nose is itchy....... It is not pleasant, and maybe if I ignore it, it will go away.

Now on to this week’s update information.

Metric graphs can now be displayed in 4 columns

As shown in the image above, it is now possible to display metric graphs in four columns. This can be useful when you want to overlook many graphs at once in a high resolution environment like 4K display.

Updates for Mackerel related OSS

Updates for various Mackerel related OSS were made this week and the details follow below.

mackerel-agent v0.52.1

  • Error handling and cloud instance processing were improved.

mackerel-agent-plugins v0.45.0

  • [postgres] xlog_location metrics were added.

mackerel-check-plugins v0.17.1

  • [check-log] Support added for when a file size of 0 is not taken into account.

mkr v0.27.0

  • [monitors] Support added for monitoring rules with a single threshold of either Warning / Critical.

Mackerel at JAWS DAYS 2018

jawsdays2018.jaws-ug.jp (Japanese only)

JAWS DAYS, a festival put on by JAWS - UG, a Japanese AWS user group, will be held at the TOC Gotanda Messe on Saturday, March 10th.

Hatena · Mackerel is also a corporate sponsor of the event!

jawsdays2018.jaws-ug.jp (Japanese only)

I, Inoue (id:a-know), will be one of the presenters during the event’s Lunch Session, and will be talking about hints to help make using Mackerel with AWS more convenient. Please join us!

Notice of database maintenance completion

Mackerel Team Director id:daiksy here.

This is an announcement to report that the planned database maintenance scheduled for February 27th, 2018 (Tue) was successfully completed without incident.

On the day of, maintenance started on schedule at 2:30 p.m. (Japan time) and was completed a little ahead of schedule at 4:47 p.m. We understand that this extended period of system stoppage was an inconvenience and we greatly appreciate your cooperation.

mackerel.io

Maintenance time period

Operations were carried out in the following sequence.

  • 2:30 p.m. ~ 3:30 p.m.: System shutdown and database maintenance implementation
  • 3:30 p.m. ~ 4:47 p.m.: Operation Confirmation

Metrics from mackerel-agent that could not be processed during the system downtime were retransmitted starting at 3:30 p.m. and were all confirmed successfully completed about 30 minutes thereafter.

Here at Mackerel, we will continue to do our best to maintain a stable work environment for our users in the future. Thank you for your cooperation and thank you for choosing Mackerel.