Skip to content

Latest commit

 

History

History
108 lines (81 loc) · 2.12 KB

README.md

File metadata and controls

108 lines (81 loc) · 2.12 KB

egg-sls

NPM version build status Test coverage David deps Known Vulnerabilities npm download

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.

License

MIT