Skip to content

Commit

Permalink
♻️ update
Browse files Browse the repository at this point in the history
Signed-off-by: vankichi <kyukawa315@gmail.com>
  • Loading branch information
vankichi authored and actions-user committed Jul 2, 2020
1 parent 5895635 commit 3053ead
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions docs/tutorial/agent-on-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This chapter will use NGT for the core engine of Vald Agent.
logging:
logger: glg
level: debug
format: json
format: raw
server_config:
servers:
- name: agent-grpc
Expand Down Expand Up @@ -92,9 +92,11 @@ This chapter will use NGT for the core engine of Vald Agent.
search_edge_size: 10
# in-memory mode enabled
enable_in_memory_mode: true
# The limit duration of automatic indexing
# The limit duration of automatic indexing
# auto_index_duration_limit should be 30m-6h for producation use. Below setting is a just example
auto_index_duration_limit: 1m
# Check duration of automatic indexing.
# auto_index_check_duration be 10m-1h for producation use. Below setting is a just example
auto_index_check_duration: 10s
# The number of cache to trigger automatic indexing
auto_index_length: 100
Expand All @@ -114,11 +116,11 @@ This chapter will use NGT for the core engine of Vald Agent.
If the deployment success, you can confirm the output will be similar to below.
```bash
{"Date":"2020-06-24T05:49:53.615263Z","Level":"INFO","Detail":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
{"Date":"2020-06-24T05:49:53.615263Z","Level":"INFO","Detail":"service agent ngt v0.0.0 starting..."}
{"Date":"2020-06-24T05:49:53.615263Z","Level":"INFO","Detail":["daemon start"]}
{"Date":"2020-06-24T05:49:53.620263Z","Level":"INFO","Detail":"server agent-grpc executing preStartFunc"}
{"Date":"2020-06-24T05:49:53.620263Z","Level":"INFO","Detail":"gRPC server agent-grpc starting on 0.0.0.0:8081"}
2020-07-01 03:02:41 [INFO]: maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined
2020-07-01 03:02:41 [INFO]: service agent ngt v0.0.0 starting...
2020-07-01 03:02:41 [INFO]: daemon start
2020-07-01 03:02:41 [INFO]: server agent-grpc executing preStartFunc
2020-07-01 12:02:41 [INFO]: gRPC server agent-grpc starting on 0.0.0.0:8081
```
## Run using example code
Expand Down
4 changes: 2 additions & 2 deletions example/helm/values-standalone-agent-ngt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ agent:
distance_type: l2
# The type of fashion-mnist's feature vectors.
object_type: float
# Check duration of automatic indexing.
auto_index_duration_limit: 1m
# The limit duration of automatic indexing.
auto_index_duration_limit: 1m
# Check duration of automatic indexing.
auto_index_check_duration: 10s

gateway:
Expand Down

0 comments on commit 3053ead

Please sign in to comment.