mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Update README.md for sinks
Wrong JSON format, it is an object, not a list.
This commit is contained in:
parent
2e7990f87d
commit
f6c94e32b3
@ -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>"
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user