Skip to content

Commit

Permalink
docs(internal docs): Fix basic sink tutorial issues (vectordotdev#18136)
Browse files Browse the repository at this point in the history
* docs(internal docs): Fix basic sink tutorial link

Fix typo in the link in the word "sinks".

* docs(internal docs): fix missing semicolon to emit

Without it, the sink won't compile.
  • Loading branch information
tombruijn authored Aug 2, 2023
1 parent 7df6af7 commit 5a6ce73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/sinks/1_basic_sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Add the following after emitting `BytesSent`:
+ count: 1,
+ byte_size: event_byte_size,
+ output: None,
+ })
+ });
```

More details about instrumenting Vector can be found
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/sinks/2_http_sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ BODY:
{"log":{"host":"computer","message":"zork","source_type":"stdin","timestamp":"2023-01-23T10:21:57.215019942Z"}}
```

[tutorial_1]: https://github.com/vectordotdev/vector/tree/master/docs/tutorials/sinsk/1_basic_sink.md
[tutorial_1]: https://github.com/vectordotdev/vector/tree/master/docs/tutorials/sinks/1_basic_sink.md
[tower]: https://docs.rs/tower/latest/tower/
[tower_service]: https://docs.rs/tower/latest/tower/trait.Service.html
[hyper_docs]: https://docs.rs/hyper/latest/hyper/
Expand Down

0 comments on commit 5a6ce73

Please sign in to comment.