Skip to content

Commit

Permalink
chore: fix inconsistency of cmd name
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Mar 28, 2024
1 parent 68f39b9 commit 0b00003
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Stats Ninja 🥷

This program will run on every server as docker container having docker unix socket mounted.
This program will run on every server.
It will collect system stats and usage stats of all running swarm services and will send to swiftwave management node.

> This program will not expose any API for polling, it will send its stats directly to swiftwave management server
Expand All @@ -9,11 +9,11 @@ It will collect system stats and usage stats of all running swarm services and w

1. `enable` - Enable swiftwave stats ninja service
```bash
sudo swiftwave_stats_ninja enable (http/https)://<swiftwave-management-node-ip>:<port> <analytics-token>
sudo swiftwave-stats-ninja enable (http/https)://<swiftwave-management-node-ip>:<port> <analytics-token>
```
2. `disable` - Disable swiftwave stats ninja service
```bash
sudo swiftwave_stats_ninja disable
sudo swiftwave-stats-ninja disable
```

### License
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func main() {
// disable cmd
disable()
} else {
fmt.Println("Usage: stats_ninja <run|enable|disable>")
fmt.Println("Usage: swiftwave-stats-ninja <run|enable|disable>")
os.Exit(1)
}
}
Expand Down

0 comments on commit 0b00003

Please sign in to comment.