Skip to content

Commit

Permalink
Update Vespa-CLI reference doc MERGEOK
Browse files Browse the repository at this point in the history
  • Loading branch information
sd-buildbot committed Nov 27, 2023
1 parent 6712643 commit b945f99
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
30 changes: 28 additions & 2 deletions en/reference/vespa-cli/vespa_feed.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,36 @@ Feed multiple document operations to Vespa.
This command can be used to feed large amounts of documents to a Vespa cluster
efficiently.

The contents of JSON-FILE must be either a JSON array or JSON objects separated by
The contents of json-file must be either a JSON array or JSON objects separated by
newline (JSONL).

If JSON-FILE is a single dash ('-'), documents will be read from standard input.
If json-file is a single dash ('-'), documents will be read from standard input.

Once feeding completes, metrics of the feed session are printed to standard out
in a JSON format:

- feeder.operation.count: Number of operations passed to the feeder by the user,
not counting retries.
- feeder.seconds: Total time spent feeding.
- feeder.ok.count: Number of successful operations.
- feeder.ok.rate: Number of successful operations per second.
- feeder.error.count: Number of network errors (transport layer).
- feeder.inflight.count: Number of operations currently being sent.
- http.request.count: Number of HTTP requests made, including retries.
- http.request.bytes: Number of bytes sent.
- http.request.MBps: Request throughput measured in MB/s. This is the raw
operation throughput, and not the network throughput,
I.e. using compression does not affect this number.
- http.exception.count: Same as feeder.error.count. Present for compatiblity
with vespa-feed-client.
- http.response.count: Number of HTTP responses received.
- http.response.bytes: Number of bytes received.
- http.response.MBps: Response throughput measured in MB/s.
- http.response.error.count: Number of non-OK HTTP responses received.
- http.response.latency.millis.min: Lowest latency of a successful operation.
- http.response.latency.millis.avg: Average latency of successful operations.
- http.response.latency.millis.max: Highest latency of a successful operation.
- http.response.code.counts: Number of responses grouped by their HTTP code.


```
Expand Down
5 changes: 5 additions & 0 deletions en/reference/vespa-cli/vespa_status_document.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ title: vespa status document
render_with_liquid: false
---

---
title: vespa status document
render_with_liquid: false
---

## vespa status document

Verify that the document service is ready to use
Expand Down
5 changes: 5 additions & 0 deletions en/reference/vespa-cli/vespa_status_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ title: vespa status query
render_with_liquid: false
---

---
title: vespa status query
render_with_liquid: false
---

## vespa status query

Verify that the query service is ready to use (default)
Expand Down

0 comments on commit b945f99

Please sign in to comment.