Performance debugging for serverless functions using the Cloud Shell

Example Slack notifications for a failed and passing Travis CI build, here shown for two different pull requests.
The shell is a desktop application. You can install it with “npm -g install @ibm-functions/shell”. From your terminal, you launch it with “fsh shell”. The figure on the left is generated by typing “app list” in the shell prompt and then selecting an application from the list of deployed apps. The figure on the right is an example session. You can see your sessions with the command “session list”, and clicking on one from the list shown.
The trace view is another way of visualizing a session. You can cycle through the views by selecting the appropriate tab in the bottom panel. In addition to Trace and Session Flow, you can also inspect the result of the activation result and the raw activation record.
Performance of individual functions, here showing the mean and 25%–75% execution time spread. This view is accessible by typing the command “summary” on the shell prompt. Once in this view, you can change between summary, timeline and grid views which are shown later.
A heat map of activations allows one to quickly find slow or failed activations. You can type the command “grid” on the shell prompt to bring up this view.
The timeline view is another way of looking at a set of activations over time. The command for this view is “timeline” which you can enter on the shell prompt, or select from the bottom panel from select views.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Fix BLU J6 Not Charging [Troubleshooting Guide]

Checking Python Version before Running a Script

A local PostgreSQL development environment based on Docker

Using GPT-3 To Measure Sentiment

The HOW & WOW of Our ElasticSearch Upgrade

Complete Python And Projects — Mega Compilation

churro — Flutter to ETL Example

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
rodric rabbah

rodric rabbah

More from Medium

How to use MongoDB with Serverless Cloud

Canopas Podcast #2 —You are making a mistake by not using Serverless

OpenVidu 2.21.0: welcome OpenVidu Enterprise

How to run custom SQL queries using functions in Supabase