bundles/matrix-{media-repo,synapse}: catch all them metrics into influxdb
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e58b447eb7
commit
e10ac0e57f
6 changed files with 51 additions and 9 deletions
|
@ -73,25 +73,24 @@ defaults = {
|
|||
},
|
||||
}
|
||||
|
||||
|
||||
if node.has_bundle('telegraf'):
|
||||
defaults['telegraf'] = {
|
||||
'input_plugins': {
|
||||
'builtin': {
|
||||
'http': [{
|
||||
'http': {
|
||||
'hedgedoc_status': {
|
||||
'urls': [
|
||||
'http://127.0.0.1:3000/status'
|
||||
],
|
||||
'data_format': 'json',
|
||||
'name_override': 'hedgedoc_status',
|
||||
}],
|
||||
'prometheus': [{
|
||||
},
|
||||
},
|
||||
'prometheus': {
|
||||
'hedgedoc': {
|
||||
'urls': [
|
||||
'http://127.0.0.1:3000/metrics'
|
||||
],
|
||||
'name_override': 'hedgedoc_metrics',
|
||||
'metric_version': 2,
|
||||
}],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue