-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from steersbob/feature/bookworm
bump dependencies
- Loading branch information
Showing
7 changed files
with
113 additions
and
288 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
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 |
---|---|---|
@@ -1,34 +1,3 @@ | ||
# History Service | ||
|
||
The history service is the gatekeeper for Brewblox databases. It writes data from history events, and offers REST interfaces for querying the InfluxDB and Redis databases. | ||
|
||
## Features | ||
|
||
### QueryClient ([influx.py](./brewblox_history/influx.py)) | ||
|
||
Handles directly querying InfluxDB. API functions eventually call this. | ||
|
||
### InfluxWriter ([influx.py](./brewblox_history/influx.py)) | ||
|
||
Periodically writes scheduled data points to InfluxDB. | ||
|
||
Publicly offers the `write_soon()` function, where data can be scheduled for writing. | ||
|
||
### DataRelay ([relays.py](./brewblox_history/relays.py)) | ||
|
||
Subscribes to the `--history-topic` topic on the event bus, and schedules all received data for writing to the database. | ||
|
||
### Datastore ([redis.py](./brewblox_history/redis.py)) | ||
|
||
Offers a simple wrapper around the Redis API. | ||
Changes are broadcast to the `--datastore-topic` topic. | ||
|
||
## REST API | ||
|
||
### queries ([query_api.py](./brewblox_history/query_api.py)) | ||
|
||
REST API for the InfluxDB database. Also offers WebSocket endpoints for streamed values. | ||
|
||
### datastore ([datastore_api](./brewblox_history/datastore_api.py)) | ||
|
||
REST API for the Redis datastore. | ||
The history service is the gatekeeper for Brewblox databases. It writes data from history events, and offers REST interfaces for querying the Victoria and Redis databases. |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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