mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 23:29:06 +01:00
Update README.md
Use right JSON type in configuration
This commit is contained in:
parent
b69efdc2a4
commit
55cb12c9f8
@ -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