1.0.0-alpha.2 • Published 6 years ago
egg-sls v1.0.0-alpha.2
egg-sls
Install
$ npm i egg-sls --save
Usage
// {app_root}/config/plugin.js
exports.sls = {
enable: true,
package: 'egg-sls',
};
Configuration
// {app_root}/config/config.default.js
exports.sls = {
};
see config/config.default.js for more detail.
Example
API
Project
- createProject
- deleteProject
- getProject
- listProject
- getProjectLogs
LogStore
- createLogstore
- deleteLogstore
- getLogstore
- listLogstore
- updateLogstore
- getLogs
- getHistograms
Shard
- ListShards
- SplitShard
- MergeShards
- PostLogStoreLogs
- GetCursor
- PullLogs
Index
- createIndex
- getIndex
- updateIndex
- deleteIndex
Config
- createConfig
- deleteConfig
- getConfig
- listConfig
- updateConfig
- GetAppliedMachineGroups
Questions & Suggestions
Please open an issue here.