egg-sls
v1.0.0-alpha.2
Published
alyun sls plugin in Egg.js
Downloads
32
Maintainers
Readme
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
- [x] createProject
- [x] deleteProject
- [x] getProject
- [x] listProject
- [ ] getProjectLogs
LogStore
- [x] createLogstore
- [x] deleteLogstore
- [x] getLogstore
- [x] listLogstore
- [x] updateLogstore
- [x] getLogs
- [ ] getHistograms
Shard
- [ ] ListShards
- [ ] SplitShard
- [ ] MergeShards
- [x] PostLogStoreLogs
- [ ] GetCursor
- [ ] PullLogs
Index
- [ ] createIndex
- [ ] getIndex
- [ ] updateIndex
- [ ] deleteIndex
Config
- [ ] createConfig
- [ ] deleteConfig
- [ ] getConfig
- [ ] listConfig
- [ ] updateConfig
- [ ] GetAppliedMachineGroups
Questions & Suggestions
Please open an issue here.