Skip to content

Commit b9f7d00

Browse files
author
Jani Anttonen
committed
update readme
1 parent 0814521 commit b9f7d00

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ It should contain everything from the protocol to the port.
2424

2525
The interval at which the transport sends batched logs to Loki. **In seconds.**
2626

27+
>`json`
28+
29+
*optional*
30+
31+
Switch to JSON transport instead of Protobuf.
32+
2733
### Example
2834
```js
2935
const { createLogger, transports } = require("winston");
@@ -52,11 +58,13 @@ And you should have a working, requirable winston-loki package under your projec
5258

5359
Refer to https://github.com/grafana/loki/blob/master/docs/api.md for documentation about the available endpoints, data formats etc.
5460

61+
Grafana Loki *doesn't have any official releases or version numbers* as of now, so if the API is changed, it's going to be fun, but it's working as of now.
62+
5563
### Run tests
5664
```sh
5765
npm test
5866
```
5967

6068
Write new ones under `/test`
6169

62-
TODO: Add protobuf as default mode, remove *got* dependency
70+
TODO: Remove *got* dependency

0 commit comments

Comments
 (0)