File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Please also refer to [examples](https://github.com/frequenz-floss/frequenz-clien
30
30
31
31
``` bash
32
32
# Choose the version you want to install
33
- VERSION=0.8 .0
33
+ VERSION=0.9 .0
34
34
pip install frequenz-client-reporting==$VERSION
35
35
```
36
36
@@ -92,6 +92,8 @@ data = [
92
92
start_dt = datetime.fromisoformat(" 2024-05-01T00:00:00" ),
93
93
end_dt = datetime.fromisoformat(" 2024-05-02T00:00:00" ),
94
94
resolution = 1 ,
95
+ states = False , # Set to True to include state data
96
+ bounds = False , # Set to True to include metric bounds data
95
97
)
96
98
]
97
99
```
@@ -116,6 +118,8 @@ reporting-cli \
116
118
--metrics AC_ACTIVE_POWER AC_REACTIVE_POWER \
117
119
--start 2024-05-01T00:00:00 \
118
120
--end 2024-05-02T00:00:00 \
119
- --format csv
121
+ --format csv \
122
+ --states \
123
+ --bounds
120
124
```
121
125
In addition to the default CSV format the data can be output as individual samples or in ` dict ` format.
Original file line number Diff line number Diff line change 6
6
7
7
## Upgrading
8
8
9
- * Update and fix readme to make use of newest release version 0.8.0
10
- * Updates the base client to version 0.6.
11
9
12
10
## New Features
13
11
14
- * States can now be requested via the client and are provided through the flat iterator.
15
- They can be identified via their category ` state ` , ` warning ` and ` error ` , respectively.
16
- Each individual state is provided as its own sample.
17
- * Bounds can now be requested via the client and are provided through the flat iterator.
18
- They can be identified via their category ` metric_bound[i]_{upper,lower} ` .
19
- Each individual bound is provided as its own sample.
20
-
21
- * Support for states and bound is also added to the CLI tool via the ` --states ` and ` --bounds ` flag, respectively.
22
12
23
13
## Bug Fixes
24
14
You can’t perform that action at this time.
0 commit comments