-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
223d2f0
commit ce14ace
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
=== Config samples | ||
|
||
If you want to quickly get started, you can create pricing rules and context data using the link:https://github.com/spoud/kafka-cost-control/tree/master/config[config sample folder]. All you need is node JS 20+. | ||
|
||
Be sure to edit the files `pricing-rules.json` and `context-data.json` to match your environment. | ||
|
||
To persist the configuration you can use the following command: | ||
|
||
```bash | ||
node index.js --url=https://<your-host>/graphql --user=admin --password=your-password | ||
``` | ||
|
||
If you have issues you can try to add the `--verbose` options. This will display all the requests. |