Debug and Monitor Functions in Couchbase

This course explores the use of the Couchbase debugger during the development phase of an eventing function. It also covers the variety of logs available to monitor the overall state and changes made to functions during their lifespan.
Course info
Level
Intermediate
Updated
May 6, 2020
Duration
2h 20m
Table of contents
Description
Course info
Level
Intermediate
Updated
May 6, 2020
Duration
2h 20m
Description

The Couchbase eventing service allows us to respond to changes made to data through the medium of eventing functions. Like any application, these functions need to be developed and then maintained until they have served their purpose. In this course, Debug and Monitor Functions in Couchbase, you'll dive into the role of debugging in function development and the various options available to monitor functions throughout their lives. First, you'll begin by introducing you to the Couchbase eventing service and then create two simple eventing functions - one with an OnUpdate handler and another with an OnDelete handler. Next, You'll then explore how bugs in the function code can be identified using the built-in Couchbase debugger. This will cover the steps involved in activating the debugger, and use of the standard debug tools such as breakpoints and watch expressions. We also take a look at exception handling with try-catch blocks. Finally, You'll move on to the logging options available in Couchbase for the eventing service. This includes the application and system logs for functions, but also the audit feature which allows additional activities to be recorded. Furthermore, we use the explicit logging feature to generate logs and statistics to share with other teams - this includes the option to redact sensitive data from the log files. Once you have finished this course, you will be well-versed in the options available to manage an eventing function in Couchbase throughout its life - from development to monitoring and maintenance.

About the author
About the author

An engineer at heart, I am drawn to any interesting technical topic. Big Data, ML and Cloud are presently my topics of interest.

More from the author
Configure Functions in Couchbase
Beginner
2h 6m
May 7, 2020
Manage Functions in Couchbase
Intermediate
2h 17m
May 6, 2020
More courses by Kishan Iyer
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] Hi and welcome to this course Debug on monitor functions in college base. My name is Keisha Year on, I will be your instructor for the course a little about myself First, I have a Masters degree in computer science from Columbia University on have previously worked in companies that that's Deutsche Bank and WebMD in New York presently work for Looney Con, a studio for high quality video content. The couch with eventing service allows us to respond to changes made to data through the medium off eventing functions. Like any application, these functions need to be developed and then maintained until they have served their purpose. If course is into the roll off debugging in function development on various options available to monitor functions throughout their life, we begin by introducing you to the couch eventing service and then create so simple eventing functions, one with an on update handler and another with an on believe handler. We then explore how bugs in the Function Court can be identified using the building college based E ______. This will cover the steps involved in activating the D ______ and youth of the standard diva tools such as break points and watch expressions. We also take a look at exception handling with dry catch blocks. We then move on to the logging options available and couch face for the eventing service. This includes the application and system look for functions, but also the ordered feature, which I love. More activities to be Recorded for Demo We used the explicit logging feature to generate logs and statistics to share with other teens. This includes the option to redact sensitive data from the lock files. Once you have finished this course, you will be well versed in the options available to manage a couch with eventing function throughout its life, from development to monitoring on maintenance.