mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
32 lines
491 B
Markdown
32 lines
491 B
Markdown
<!--
|
|
title: Serverless SlStats CLI Command
|
|
menuText: Stats
|
|
description: Enable or disable framework statistics
|
|
layout: Doc
|
|
-->
|
|
|
|
# SlStats
|
|
|
|
This plugin implements a way to toggle [framework statistics](../framework-statistics.md).
|
|
|
|
```
|
|
serverless slstats --enable
|
|
```
|
|
|
|
## Options
|
|
- `--enable` or `-e`.
|
|
- `--disable` or `-d`
|
|
|
|
## Provided lifecycle events
|
|
- `slstats:slstats`
|
|
|
|
## Examples
|
|
|
|
### Disabling it
|
|
|
|
```
|
|
serverless slstats --disable
|
|
```
|
|
|
|
This example will disable framework statistics.
|