You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,13 +61,25 @@ Chronos is a comprehensive developer tool that monitors the health and web traff
61
61
- Supports <ahref="#"><imgsrc="./app/assets/postgres-logo-color.png"alt="PostgreSQL"title="PostgreSQL"align="center"height="20" /></a> and <imgsrc="./app/assets/mongo-logo-color.png"alt="MongoDB"title="MongoDB"align="center"height="20" /></a> databases
62
62
- Displays real-time temperature, speed, latency, and memory statistics
63
63
- Display and compare multiple microservice metrics in a single graph
64
+
- Monitor an <ahref="#"><imgsrc="./app/assets/pngwing.com.png"alt="Apache Kafka"title="Apache Kafka"align="center"height="20" /></a> cluster via the JMX Prometheus Exporter
dockerized:true,// <-- The 'dockerized' property is optional
130
142
database: {
131
143
connection:'REST',
132
144
type:'MongoDB',
@@ -297,12 +309,12 @@ volumes:
297
309
298
310
299
311
300
-
### Apache Monitoring (Via JMX to Prometheus Exporter)
312
+
### Apache Kafka Monitoring (Via JMX to Prometheus Exporter)
301
313
302
314
Chronos now offers the ability to monitor an Apache Kafka cluster via JMX to Prometheus Exporter. In order for this feature to work you must be running [JMX to Prometheus
303
315
Exporter](https://github.com/prometheus/jmx_exporter) either as a Java Agent with your cluster or as a standalone HTTP server. Then, use `chronos-config.js` to specifiy the port exposed for metrics scraping.
304
316
305
-
To start, add the property `jmxuri` to the object in `chronos-config.js`. Your file should look similar to this:
317
+
To start, add the property `jmxuri` to the object in `chronos-config.js`. Your file should look similar to below. Add this property to `chronos-config.js` in ***ONE AND ONLY ONE** of your microservices:
306
318
307
319
```js
308
320
constchronos=require('chronos-tracker-7');
@@ -332,6 +344,8 @@ chronos.kafka()
332
344
333
345
in your express server. When viewing your information in the Chronos Electron application the data will be available in the service "kafkametrics"
334
346
347
+
**NOTE:** We provide a config.yaml file in the Chronos root folder for use with JMX prometheus that provides some useful baseline metrics to monitor.
348
+
335
349
#
336
350
###### Return to [Top](#chronos)
337
351
<br>
@@ -465,7 +479,8 @@ This is the branch that holds the code base for the splash page. Edit the websit
0 commit comments