What's New

IBM Cloud Functions Integrates with IBM Monitoring Service

Share this post:

IBM Cloud Functions + IBM Monitoring

Good news! The monitoring of IBM Cloud Functions is easier than ever with our new IBM Cloud Monitoring service integration. From now on, you can get insights on cold or warm starts, action invocation failures, and action concurrency characteristics. The functionality should already be part of your Cloud Functions instance, which means you can visualize your data from any new invocation in Grafana. This integration does not replace the existing monitoring dashboard but adds to the functionality by allowing more flexibility. You can use a pre-generated dashboard from the community from Grafana.com, or you can create your own.

There are two types of metrics that are available: performance and concurrency.

  • Performance metrics encompass the break-down of the action duration and the response codes.
  • Concurrency metrics focus on the current in-flight actions.

What can I expect to see?

If you chose to download a pre-generated dashboard, you might see something similar to the following picture if you have activations in your namespace.

You might also see a dashboard similar to the following image that displays the data about action duration. In this example, you can see that it varies between three and four milliseconds. You can use this dashboard to predict your costs or monitor abnormalities in action behaviour. So, say you want to monitor your production system. The IBM Cloud Monitoring service provides the ability to enable alerts that you can use to send an email or trigger a PagerDuty incident, depending on whether the observed value surpasses your set threshold.


Another option is to create your own dashboard to show other metrics. This example shows the metric init-time. This is what is known as the “cold start time” or the time that is needed for the user code to be injected into the container. The following graph shows a stable 0 to 15 minutes period which indicates the usage of a warm container. You can also monitor the number of concurrent activations and concurrency throttles per minute. The concurrency throttles are emitted when you exceed your concurrency limits.


Next steps

Ready to get started? Check out the documentation and try out the feature in IBM Cloud Monitoring service today.

We’d love to hear from you with feedback and questions! You can get help for technical questions at Stack Overflow by using the ibm-functions tag. For non-technical questions, you can find us at IBM developerWorks with the functions tag. For defect or support needs, use the support section that is found in the IBM Cloud menu.

Software Developer - Cloud Functions - OpenWhisk

More What's New stories
May 3, 2019

Kubernetes Tutorials: 5 Ways to Get You Building Fast

Ready to start working with Kubernetes? Want to build your Kubernetes skills? The five tutorials in this post will teach you everything you need to know about how to manage your containerized apps with Kubernetes.

Continue reading

May 3, 2019

Using Portworx to Deploy and Manage an HA MySQL Cluster on IBM Cloud Kubernetes Service

This tutorial is a walkthrough of the steps involved in deploying and managing a highly available MySQL cluster on IBM Cloud Kubernetes Service.

Continue reading

May 2, 2019

Kubernetes v1.14.1 Now Available in IBM Cloud Kubernetes Service

We are excited to announce the availability of Kubernetes v1.14.1 for your clusters that are running in IBM Cloud Kubernetes Service. IBM Cloud Kubernetes Service continues to be the first public managed Kubernetes service to support the latest upstream versions from the community.

Continue reading