new version of godplugin and pulsar alarms, dashboard info (#8364)
bump godplugin to v0.17.0 and add pulsar alarms, dashboard_info
Ilya Mashchenko committed
Mar 11, 2020 at 17:50 UTC
e4d4a12c8b264d9f53dcc3520429db1a48361148
6 files changed
+240
-17
collectors/COLLECTORS.md
+1
@@ -104,6 +104,7 @@ collector—we may be looking for contributions from users such as yourself!
104
| [phpfpm](go.d.plugin/modules/phpfpm/README.md) | [`PHP-FPM`](https://php-fpm.org/) | Collects application summary and processes health metrics scraping status page (`/status?full`). |
105
| [pihole](go.d.plugin/modules/pihole/README.md) | [`Pi-hole`](https://pi-hole.net/) | Monitors basic (dns queries, clients, blocklist) and extended (top clients, top permitted and blocked domains) statistics using PHP API. |
106
| [portcheck](go.d.plugin/modules/portcheck/README.md) | `TCP Endpoint` | Monitors tcp endpoint availability and response time. |
107
+| [pulsar](go.d.plugin/modules/pulsar/README.md) | [`Apache Pulsar`](http://pulsar.apache.org/) | Collects summary, namespaces and topics performance statistics. |
108
| [rabbitmq](go.d.plugin/modules/rabbitmq/README.md) | [`RabbitMQ`](https://www.rabbitmq.com/) | Collects message broker overview, system and per virtual host metrics. |
109
| [scaleio](go.d.plugin/modules/scaleio/README.md) | [`Dell EMC ScaleIO`](https://www.delltechnologies.com/en-us/storage/data-storage/software-defined-storage.htm) | Monitors storage system, storage pools and sdcs health and performance metrics via VxFlex OS Gateway API. |
110
| [solr](go.d.plugin/modules/solr/README.md) | [`Solr`](https://lucene.apache.org/solr/) | Collects application search requests, search errors, update requests and update errors statistics. |
health/Makefile.am
+1
@@ -75,6 +75,7 @@ dist_healthconfig_DATA = \
75
health.d/portcheck.conf \
76
health.d/postgres.conf \
77
health.d/processes.conf \
78
+ health.d/pulsar.conf \
79
health.d/qos.conf \
80
health.d/ram.conf \
81
health.d/redis.conf \
health/health.d/pulsar.conf
new
+13
@@ -0,0 +1,13 @@
1
+
2
+# Availability
3
+
4
+template: pulsar_last_collected_secs
5
+ on: pulsar.broker_components
6
+ calc: $now - $last_collected_t
7
+ units: seconds ago
8
+ every: 10s
9
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
10
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
11
+ delay: down 5m multiplier 1.5 max 1h
12
+ info: number of seconds since the last successful data collection
13
+ to: sysadmin
packaging/go.d.checksums
+16
-16
@@ -1,16 +1,16 @@
1
-eee3a36a5290e9c960f5c0dddefd3ad81cbbf3cb5c17a58bfa052f83a2664491 *config.tar.gz
2
-134cc8747cf8da09af1ff8d75949aaa2c993f531a5922b2d17e5dabcb7110358 *go.d.plugin-v0.16.0.darwin-386.tar.gz
3
-055a1cdd213031bd7a953a908761d1e38113cb1be3b36222a8d0ff53cef211cf *go.d.plugin-v0.16.0.darwin-amd64.tar.gz
4
-992b77cbcd6b7011e7cce23cf272b6fff4496fe612e8cc64c682960d19e0c2de *go.d.plugin-v0.16.0.freebsd-386.tar.gz
5
-450bb1c12fad358f57639791a977696b9f2a0d08454b72e55c359b4a9d2af516 *go.d.plugin-v0.16.0.freebsd-amd64.tar.gz
6
-49c30ae1ec8a34eccb9b309b1523b26fc5a3be17c2f01ed50d49755f985bf743 *go.d.plugin-v0.16.0.freebsd-arm.tar.gz
7
-189943a310c7edddf059b86a5fe5bcbf8b7500a257877bd5e2d441c7a5f701e7 *go.d.plugin-v0.16.0.linux-386.tar.gz
8
-30442ed1290c0b3a35d1ddaf58fd95a407d3eb20dc556340fef840915c278f03 *go.d.plugin-v0.16.0.linux-amd64.tar.gz
9
-12065625c51cc957136bb1185b698584c866818b205844b9ccecb8dede5bf2f9 *go.d.plugin-v0.16.0.linux-arm.tar.gz
10
-24e5cf2348c3e3739667b0d64a5580f46e30d56e4a71908976b5259d8e229303 *go.d.plugin-v0.16.0.linux-arm64.tar.gz
11
-0ff30e64a0f25908ca18d2d088f024f8397b6435a5920b4332265c76c010f506 *go.d.plugin-v0.16.0.linux-mips.tar.gz
12
-1592c5af8e44beaae47e8795509a7acdd6f014c12fb0f02cbd31f721f29e047a *go.d.plugin-v0.16.0.linux-mips64.tar.gz
13
-25dd720d31a39236d63cb6e7829ceb1058bbede30a0a7bc7a6370dc090eabd77 *go.d.plugin-v0.16.0.linux-mips64le.tar.gz
14
-246028321a9172e8228f8ae1f451aba54dd70ad8baf73d394bf7169269ed1657 *go.d.plugin-v0.16.0.linux-mipsle.tar.gz
15
-6cd8851bc79fa54c1f92e48a0438c8c7640f7f2e2eff64c8fd960ad490df0fa7 *go.d.plugin-v0.16.0.linux-ppc64.tar.gz
16
-4ec63e504478fa180127dddb95a663465df9c12a0f2de37bcc0f5d4412e55b04 *go.d.plugin-v0.16.0.linux-ppc64le.tar.gz
1
+540c19303c0bc5a673873b14de6c538335dbfa7e33ff6b40ec9cfac185aab9a9 *config.tar.gz
2
+d9ebcb89c2ac05d34a726c689e5f46c15a46e574fb4391230412413c1833915e *go.d.plugin-v0.17.0.darwin-386.tar.gz
3
+b8cde90fdaaebf73a37e144b22043a8c13a41ae31553be04775480c806d3a3d0 *go.d.plugin-v0.17.0.darwin-amd64.tar.gz
4
+101801ee8a46f7ae33b90270a25796c1d67d2ff40b61023dfc3958f0f78c6604 *go.d.plugin-v0.17.0.freebsd-386.tar.gz
5
+4d78aa50e7734bace2b16738ab2a8e000b16bdad4ee818aab1d61df268a23697 *go.d.plugin-v0.17.0.freebsd-amd64.tar.gz
6
+130d76d1d93342d655e5678da9fe0b6eb0f7f366d6fa842a7c85a4747b33d247 *go.d.plugin-v0.17.0.freebsd-arm.tar.gz
7
+c5cf15e323dd495146cffd4ef4f42bc6ffa3888121e57e55ebd84e7188c13ee5 *go.d.plugin-v0.17.0.linux-386.tar.gz
8
+a5f6413bceb55dc70168e3a93663704fc7e6ccf676594d49112d637a78d71a97 *go.d.plugin-v0.17.0.linux-amd64.tar.gz
9
+a8c3bb8e267aafd0e8a020d2f1883d1845a6aa79bf87ae223f46f843c35e57ca *go.d.plugin-v0.17.0.linux-arm.tar.gz
10
+e0b1c8b72e7e8249d6efc51dad22bc4e189bdcd1a1a385b0e6bec34465003d26 *go.d.plugin-v0.17.0.linux-arm64.tar.gz
11
+01fa1ac352ae6f7fd4913d1cb7c8e0fcfd54f132a022adc85993fa29e788b98d *go.d.plugin-v0.17.0.linux-mips.tar.gz
12
+334a3f41639aa2f4ebfa7c529ce73cb72d99d1f6545e679b00087023cf1b279a *go.d.plugin-v0.17.0.linux-mips64.tar.gz
13
+7a3c3af34380117da6bc25293b70a02cdb82234bb9cf6927e9c950a9048d9f80 *go.d.plugin-v0.17.0.linux-mips64le.tar.gz
14
+398425ae9271512c5f0a4a583330dfc18043ef6441cfda3d61a118c60236dbc0 *go.d.plugin-v0.17.0.linux-mipsle.tar.gz
15
+2e448275e3ed8294606cff74f82dfaf0e4873ea4f682a3f7c293e1852d77f06c *go.d.plugin-v0.17.0.linux-ppc64.tar.gz
16
+d9413e61e7eacd230261770f6f4f4f34e5ed2af2d31f0b5d1e15c8e1aea5d3ae *go.d.plugin-v0.17.0.linux-ppc64le.tar.gz
packaging/go.d.version
+1
-1
@@ -1 +1 @@
1
-v0.16.0
1
+v0.17.0
web/gui/dashboard_info.js
+208
@@ -553,6 +553,12 @@ netdataDashboard.menu = {
553
icon: '<i class="fas fa-comments"></i>',
554
info: 'Performance data for the <b><a href="https://vernemq.com/">VerneMQ</a></b> open-source MQTT broker.'
555
},
556
+
557
+ 'pulsar': {
558
+ title: 'Pulsar',
559
+ icon: '<i class="fas fa-comments"></i>',
560
+ info: 'Summary, namespaces and topics performance data for the <b><a href="http://pulsar.apache.org/">Apache Pulsar</a></b> pub-sub messaging system.'
561
+ },
562
};
563
564
@@ -3194,4 +3200,206 @@ netdataDashboard.context = {
3200
}
3201
]
3202
},
3203
+
3204
+ // ------------------------------------------------------------------------
3205
+ // Apache Pulsar
3206
+ 'pulsar.messages_rate': {
3207
+ mainheads: [
3208
+ function (os, id) {
3209
+ void (os);
3210
+ return '<div data-netdata="' + id + '"'
3211
+ + ' data-dimensions="pulsar_rate_in"'
3212
+ + ' data-chart-library="easypiechart"'
3213
+ + ' data-title="Publish"'
3214
+ + ' data-units="messages/s"'
3215
+ + ' data-gauge-adjust="width"'
3216
+ + ' data-width="12%"'
3217
+ + ' data-before="0"'
3218
+ + ' data-after="-CHART_DURATION"'
3219
+ + ' data-points="CHART_DURATION"'
3220
+ + ' data-colors="' + NETDATA.colors[0] + '"'
3221
+ + ' data-decimal-digits="2"'
3222
+ + ' role="application"></div>';
3223
+ },
3224
+ function (os, id) {
3225
+ void (os);
3226
+ return '<div data-netdata="' + id + '"'
3227
+ + ' data-dimensions="pulsar_rate_out"'
3228
+ + ' data-chart-library="easypiechart"'
3229
+ + ' data-title="Dispatch"'
3230
+ + ' data-units="messages/s"'
3231
+ + ' data-gauge-adjust="width"'
3232
+ + ' data-width="12%"'
3233
+ + ' data-before="0"'
3234
+ + ' data-after="-CHART_DURATION"'
3235
+ + ' data-points="CHART_DURATION"'
3236
+ + ' data-colors="' + NETDATA.colors[1] + '"'
3237
+ + ' data-decimal-digits="2"'
3238
+ + ' role="application"></div>';
3239
+ },
3240
+ ]
3241
+ },
3242
+ 'pulsar.subscription_msg_rate_redeliver': {
3243
+ mainheads: [
3244
+ function (os, id) {
3245
+ void (os);
3246
+ return '<div data-netdata="' + id + '"'
3247
+ + ' data-dimensions="pulsar_subscription_msg_rate_redeliver"'
3248
+ + ' data-chart-library="gauge"'
3249
+ + ' data-gauge-max-value="100"'
3250
+ + ' data-title="Redelivered"'
3251
+ + ' data-units="messages/s"'
3252
+ + ' data-gauge-adjust="width"'
3253
+ + ' data-width="14%"'
3254
+ + ' data-before="0"'
3255
+ + ' data-after="-CHART_DURATION"'
3256
+ + ' data-points="CHART_DURATION"'
3257
+ + ' data-colors="' + NETDATA.colors[3] + '"'
3258
+ + ' data-decimal-digits="2"'
3259
+ + ' role="application"></div>';
3260
+ }
3261
+ ]
3262
+ },
3263
+ 'pulsar.subscription_blocked_on_unacked_messages': {
3264
+ mainheads: [
3265
+ function (os, id) {
3266
+ void (os);
3267
+ return '<div data-netdata="' + id + '"'
3268
+ + ' data-dimensions="pulsar_subscription_blocked_on_unacked_messages"'
3269
+ + ' data-chart-library="gauge"'
3270
+ + ' data-gauge-max-value="100"'
3271
+ + ' data-title="Blocked On Unacked"'
3272
+ + ' data-units="subscriptions"'
3273
+ + ' data-gauge-adjust="width"'
3274
+ + ' data-width="14%"'
3275
+ + ' data-before="0"'
3276
+ + ' data-after="-CHART_DURATION"'
3277
+ + ' data-points="CHART_DURATION"'
3278
+ + ' data-colors="' + NETDATA.colors[3] + '"'
3279
+ + ' data-decimal-digits="2"'
3280
+ + ' role="application"></div>';
3281
+ }
3282
+ ]
3283
+ },
3284
+ 'pulsar.msg_backlog': {
3285
+ mainheads: [
3286
+ function (os, id) {
3287
+ void (os);
3288
+ return '<div data-netdata="' + id + '"'
3289
+ + ' data-dimensions="pulsar_msg_backlog"'
3290
+ + ' data-chart-library="gauge"'
3291
+ + ' data-gauge-max-value="100"'
3292
+ + ' data-title="Messages Backlog"'
3293
+ + ' data-units="messages"'
3294
+ + ' data-gauge-adjust="width"'
3295
+ + ' data-width="14%"'
3296
+ + ' data-before="0"'
3297
+ + ' data-after="-CHART_DURATION"'
3298
+ + ' data-points="CHART_DURATION"'
3299
+ + ' data-colors="' + NETDATA.colors[2] + '"'
3300
+ + ' data-decimal-digits="2"'
3301
+ + ' role="application"></div>';
3302
+ }
3303
+ ]
3304
+ },
3305
+
3306
+ 'pulsar.namespace_messages_rate': {
3307
+ heads: [
3308
+ function (os, id) {
3309
+ void (os);
3310
+ return '<div data-netdata="' + id + '"'
3311
+ + ' data-dimensions="publish"'
3312
+ + ' data-chart-library="easypiechart"'
3313
+ + ' data-title="Publish"'
3314
+ + ' data-units="messages/s"'
3315
+ + ' data-gauge-adjust="width"'
3316
+ + ' data-width="12%"'
3317
+ + ' data-before="0"'
3318
+ + ' data-after="-CHART_DURATION"'
3319
+ + ' data-points="CHART_DURATION"'
3320
+ + ' data-colors="' + NETDATA.colors[0] + '"'
3321
+ + ' data-decimal-digits="2"'
3322
+ + ' role="application"></div>';
3323
+ },
3324
+ function (os, id) {
3325
+ void (os);
3326
+ return '<div data-netdata="' + id + '"'
3327
+ + ' data-dimensions="dispatch"'
3328
+ + ' data-chart-library="easypiechart"'
3329
+ + ' data-title="Dispatch"'
3330
+ + ' data-units="messages/s"'
3331
+ + ' data-gauge-adjust="width"'
3332
+ + ' data-width="12%"'
3333
+ + ' data-before="0"'
3334
+ + ' data-after="-CHART_DURATION"'
3335
+ + ' data-points="CHART_DURATION"'
3336
+ + ' data-colors="' + NETDATA.colors[1] + '"'
3337
+ + ' data-decimal-digits="2"'
3338
+ + ' role="application"></div>';
3339
+ },
3340
+ ]
3341
+ },
3342
+ 'pulsar.namespace_subscription_msg_rate_redeliver': {
3343
+ heads: [
3344
+ function (os, id) {
3345
+ void (os);
3346
+ return '<div data-netdata="' + id + '"'
3347
+ + ' data-dimensions="redelivered"'
3348
+ + ' data-chart-library="gauge"'
3349
+ + ' data-gauge-max-value="100"'
3350
+ + ' data-title="Redelivered"'
3351
+ + ' data-units="messages/s"'
3352
+ + ' data-gauge-adjust="width"'
3353
+ + ' data-width="14%"'
3354
+ + ' data-before="0"'
3355
+ + ' data-after="-CHART_DURATION"'
3356
+ + ' data-points="CHART_DURATION"'
3357
+ + ' data-colors="' + NETDATA.colors[3] + '"'
3358
+ + ' data-decimal-digits="2"'
3359
+ + ' role="application"></div>';
3360
+ }
3361
+ ]
3362
+ },
3363
+ 'pulsar.namespace_subscription_blocked_on_unacked_messages': {
3364
+ heads: [
3365
+ function (os, id) {
3366
+ void (os);
3367
+ return '<div data-netdata="' + id + '"'
3368
+ + ' data-dimensions="blocked"'
3369
+ + ' data-chart-library="gauge"'
3370
+ + ' data-gauge-max-value="100"'
3371
+ + ' data-title="Blocked On Unacked"'
3372
+ + ' data-units="subscriptions"'
3373
+ + ' data-gauge-adjust="width"'
3374
+ + ' data-width="14%"'
3375
+ + ' data-before="0"'
3376
+ + ' data-after="-CHART_DURATION"'
3377
+ + ' data-points="CHART_DURATION"'
3378
+ + ' data-colors="' + NETDATA.colors[3] + '"'
3379
+ + ' data-decimal-digits="2"'
3380
+ + ' role="application"></div>';
3381
+ }
3382
+ ]
3383
+ },
3384
+ 'pulsar.namespace_msg_backlog': {
3385
+ heads: [
3386
+ function (os, id) {
3387
+ void (os);
3388
+ return '<div data-netdata="' + id + '"'
3389
+ + ' data-dimensions="backlog"'
3390
+ + ' data-chart-library="gauge"'
3391
+ + ' data-gauge-max-value="100"'
3392
+ + ' data-title="Messages Backlog"'
3393
+ + ' data-units="messages"'
3394
+ + ' data-gauge-adjust="width"'
3395
+ + ' data-width="14%"'
3396
+ + ' data-before="0"'
3397
+ + ' data-after="-CHART_DURATION"'
3398
+ + ' data-points="CHART_DURATION"'
3399
+ + ' data-colors="' + NETDATA.colors[2] + '"'
3400
+ + ' data-decimal-digits="2"'
3401
+ + ' role="application"></div>';
3402
+ },
3403
+ ],
3404
+ },
3405
};