Function Compute Release Log Keyword Second Search Function

How do mainstream function computing products respond?

After comparing the current mainstream function computing products in China, he found that these products have three common features at the log level:

a. All rely on their own log service system for log storage;

b. Expose the request list page to the user, including all logs for each request;

c. Both support jumping to the log service for autonomous queries, and support writing multiple functions to the same log repository

The above three common points seem to be in order. They all use their own mature log services as log storage systems, ensuring log security while also providing a good query experience; The request level oriented log also naturally isolates users and conforms to FaaS's event driven tone; However, the practice of supporting jumping to the bound log service product may be mixed. In terms of comprehensiveness and accuracy, there are no issues, and the bound log service can serve as a source of truth for user business logs.

The downside is that when users face a vast amount of log information, which is mixed with information from multiple applications and cloud service configurations, it undoubtedly increases usage costs. Moreover, to make good use of the self-service query function, it requires a long learning cycle. The most important concern for developers when debugging is errorStack, but in the log service, more useless information comes to their attention.

What you need and what you see

Alibaba Cloud function computing helps you locate problems at a glance

Optimize users' log query experience - text oriented logs

In order to make users more comfortable to use, Alibaba Cloud Function Computing (FC) launched a new log keyword search function in February this year, which is now fully online. Here are a few examples of how this function can quickly locate request logs and keep your eyes open.

(1) Text oriented logs

On the Call Log - Keyword Search page, developers can see a complete and detailed business log of the current function (including function initialization and call logs). Here, developers only focus on text, and function calculations help you get rid of other useless information on the log service page.

(2) Support for querying and highlighting

When developers use keyword search, they can customize the typing of text. Like the user in the header image, they can directly type in characteristic information such as order number in the search box to find the desired log information.

(3) Support simple query statement association operations

The keyword query search box supports the use of AND, OR, NOT and other fields to link text (consistent with the syntax of the log service), providing the possibility for users to perform precise searches.

(4) More user-friendly for custom runtime

For runtimes such as custom runtime and custom container that require high user customization, text oriented log display and keyword search are also supported, so that the container initiated logs are naturally displayed to users.

Alibaba Cloud Function Computing (FC) takes the classic Python Flask framework of custom container as an example, where you can see container startup and the logs of Python Flask server startup can also be displayed on the console. Similarly, logs from initializers and custom runtimes can be collected.

Open it and try it out

On the Alibaba Cloud Function Computing (FC) function details page, click Call Log to query the current function call record. The keyword search tab allows you to view the content of the function call log.

Document link:

Alibaba Cloud Functional Computing (FC) not only focuses on providing users with extremely high engineering efficiency and helping them reduce costs and improve efficiency, but also cares about whether users experience smoothness when using our products.

With the increase of business volume, users' demands for logs are also increasing. The combination of request lists and keyword queries in the function calculation console can easily cover 100% of the log requirements from developers, allowing you to quickly locate problems and directly retrieve business logs.

Related Articles

Explore More Special Offers

  1. Short Message Service(SMS) & Mail Service

    50,000 email package starts as low as USD 1.99, 120 short messages start at only USD 1.00

phone Contact Us