Debug and Monitor Functions in Couchbase 6

Course Cover
compare button icon

Course Features

icon

Duration

141 minutes

icon

Delivery Method

Online

icon

Available on

Downloadable Courses

icon

Accessibility

Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Intermediate

icon

Teaching Type

Self Paced

icon

Video Content

141 minutes

Course Description

In the course "Monitor Functions in Couchbase: Debug and Monitor Functions," you will learn about the importance of debugging and monitoring functions in Couchbase's eventing system. This system allows you to react to data changes through eventing functions that need to be developed and maintained.

The course begins by introducing you to Couchbase and guiding you through creating two simple event functions: one with an OnUpdate handler and another with an OnDelete handler. You will then explore how to identify bugs in function code using the built-in Couchbase Debugger. This section covers activating the debugger and using standard debug tools like breakpoints, watch expressions, and try-catch blocks for exception handling.

The course also delves into the logging options provided by the eventing service in Couchbase. You will learn how to use system and application logs to record functions and utilize the audit feature for recording additional activities. The explicit log feature is discussed, which allows you to create logs and statistics that can be shared with other teams. Additionally, you will discover how to remove sensitive data from log files.

By the end of this course, you will have the knowledge and skills to manage the eventing feature in Couchbase throughout its lifecycle effectively. You will be able to develop, monitor, and maintain eventing functions using various options available, ensuring their usefulness and efficiency.

Course Overview

projects-img

International Faculty

projects-img

Post Course Interactions

projects-img

Instructor-Moderated Discussions

projects-img

Case Studies, Captstone Projects

Skills You Will Gain

What You Will Learn

Finally, you'll move on to the logging options available in couchbase for the eventing service

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

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

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

Next, you'll then explore how bugs in the function code can be identified using the built-in couchbase debugger

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

This includes the application and system logs for functions, but also the audit feature which allows additional activities to be recorded

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

Course Cover