Skip to content

Commit 2a31ea7

Browse files
committed
change readme
1 parent 2fd3aca commit 2a31ea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ const { slsMonitor } = require('./src/index')
4949
const slsClient = new slsMonitor(secret)
5050
5151
const rangeTime = {
52-
rangeStart: 'begin Time Object',
53-
rangeEnd: 'end Time Object'
52+
rangeStart: 'begin Time string rfc3339 format', // 2018-09-22T19:51:23+08:00
53+
rangeEnd: 'end Time string rfc3339 format' // 2018-09-22T19:51:23+08:00
5454
}
5555
const period = 3600
5656
const ret = await slsClient.getScfMetrics('ap-guangzhou', rangeTime, period, 'funcName', 'default', '$latest')

0 commit comments

Comments
 (0)