mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Update httpSink.md
This commit is contained in:
parent
e79601e2e8
commit
0f35469168
@ -8,7 +8,9 @@ The `http` sink uses POST requests to a HTTP server to submit the metrics in the
|
|||||||
{
|
{
|
||||||
"<name>": {
|
"<name>": {
|
||||||
"type": "http",
|
"type": "http",
|
||||||
"meta_as_tags" : true,
|
"meta_as_tags" : [
|
||||||
|
"meta-key"
|
||||||
|
],
|
||||||
"url" : "https://my-monitoring.example.com:1234/api/write",
|
"url" : "https://my-monitoring.example.com:1234/api/write",
|
||||||
"jwt" : "blabla.blabla.blabla",
|
"jwt" : "blabla.blabla.blabla",
|
||||||
"timeout": "5s",
|
"timeout": "5s",
|
||||||
@ -20,7 +22,7 @@ The `http` sink uses POST requests to a HTTP server to submit the metrics in the
|
|||||||
```
|
```
|
||||||
|
|
||||||
- `type`: makes the sink an `http` sink
|
- `type`: makes the sink an `http` sink
|
||||||
- `meta_as_tags`: print all meta information as tags in the output (optional)
|
- `meta_as_tags`: Move specific meta information to the tags in the output (optional)
|
||||||
- `url`: The full URL of the endpoint
|
- `url`: The full URL of the endpoint
|
||||||
- `jwt`: JSON web tokens for authentification (Using the *Bearer* scheme)
|
- `jwt`: JSON web tokens for authentification (Using the *Bearer* scheme)
|
||||||
- `timeout`: General timeout for the HTTP client (default '5s')
|
- `timeout`: General timeout for the HTTP client (default '5s')
|
||||||
|
Loading…
Reference in New Issue
Block a user