Update README.md for sinks

Wrong JSON format, it is an object, not a list.
This commit is contained in:
Thomas Gruber
2024-07-15 12:38:34 +02:00
committed by GitHub
parent 2e7990f87d
commit f6c94e32b3

View File

@@ -17,7 +17,7 @@ This folder contains the SinkManager and sink implementations for the cc-metric-
The configuration file for the sinks is a list of configurations. The `type` field in each specifies which sink to initialize. The configuration file for the sinks is a list of configurations. The `type` field in each specifies which sink to initialize.
```json ```json
[ {
"mystdout" : { "mystdout" : {
"type" : "stdout", "type" : "stdout",
"meta_as_tags" : [ "meta_as_tags" : [
@@ -31,7 +31,7 @@ The configuration file for the sinks is a list of configurations. The `type` fie
"database" : "ccmetric", "database" : "ccmetric",
"password" : "<jwt token>" "password" : "<jwt token>"
} }
] }
``` ```