You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Configure feature logging via feature_store.yaml (feast-dev#2739)
* Feature logging configurable via feature_store.yaml
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
* allow local server type
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Copy file name to clipboardExpand all lines: docs/reference/feature-servers/go-feature-retrieval.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,36 @@ go_feature_retrieval: True
35
35
```
36
36
{% endcode %}
37
37
38
+
## Feature logging
39
+
40
+
Go feature server can log all requested entities and served features to a configured destination inside an offline store.
41
+
This allows users to create new datasets from features served online. Those datasets could be used for future trainings or for
42
+
feature validations. To enable feature logging we need to edit `feature_store.yaml`:
43
+
```yaml
44
+
project: my_feature_repo
45
+
registry: data/registry.db
46
+
provider: local
47
+
online_store:
48
+
type: redis
49
+
connection_string: "localhost:6379"
50
+
go_feature_retrieval: True
51
+
feature_server:
52
+
feature_logging:
53
+
enable: True
54
+
```
55
+
56
+
Feature logging configuration in `feature_store.yaml` also allows to tweak some low-level parameters to achieve the best performance:
57
+
```yaml
58
+
feature_server:
59
+
feature_logging:
60
+
enable: True
61
+
flush_interval_secs: 300
62
+
write_to_disk_interval_secs: 30
63
+
emit_timeout_micro_secs: 10000
64
+
queue_capacity: 10000
65
+
```
66
+
All these parameters are optional.
67
+
38
68
## Future/Current Work
39
69
40
70
The Go feature retrieval online feature logging for Data Quality Monitoring is currently in development. More information can be found [here](https://docs.google.com/document/d/110F72d4NTv80p35wDSONxhhPBqWRwbZXG4f9mNEMd98/edit#heading=h.9gaqqtox9jg6).
0 commit comments