Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 layer、EnableInstanceMetrics、有状态的异步调用配置 #1120

Merged
merged 4 commits into from
Jun 21, 2021

Conversation

wss-git
Copy link
Collaborator

@wss-git wss-git commented Jun 1, 2021

函数支持 layer 配置
服务日志配置新增 EnableInstanceMetrics
Fun 支持新增有状态的异步调用配置

@wss-git wss-git changed the title 更新 Jun 1, 2021
@@ -1325,7 +1326,8 @@ async function generateDefaultLogConfig() {
return {
project: generateSlsProjectName(profile.accountId, profile.defaultRegion),
logstore: `function-log`,
enableRequestMetrics: true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 default 是 true, 会不会给用户增加费用?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

会,会产生少量日志。没关系,默认是开启的,用户可以关掉;控制台也是默认开启的

@rsonghuster rsonghuster merged commit 7d7c183 into master Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants