Skip to content

Commit

Permalink
Report the number of tcp connections
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Pryakhin <apryakhin1@bloomberg.net>
  • Loading branch information
waldgange committed Jul 31, 2024
1 parent 99e8aff commit ee0e30a
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 102 deletions.
15 changes: 15 additions & 0 deletions src/applications/bmqbrkr/etc/bmqbrkrcfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@
},
"stats": {
"snapshotInterval": 1,
"plugins": [
{
"name": "PrometheusStatConsumer",
"publishInterval": 1,
"prometheusSpecific": {
"host": "localhost",
"port": 9091,
"mode": "E_PUSH"
}
}
],
"printer": {
"printInterval": 60,
"file": "./localBMQ/logs/stat.%T.%p",
Expand Down Expand Up @@ -94,6 +105,10 @@
},
"bmqconfConfig": {
"cacheTTLSeconds": 30
},
"plugins": {
"libraries": ["../../plugins/"],
"enabled": ["PrometheusStatConsumer"]
}
}
}
Loading

0 comments on commit ee0e30a

Please sign in to comment.