diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2020-03-11 17:50:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 17:50:49 +0300 |
commit | e4d4a12c8b264d9f53dcc3520429db1a48361148 (patch) | |
tree | a0b039bfb7a0792df0285001189bc55befd733bd | |
parent | 50bf101ceec3cda37831eea0597197a20cf4d9f5 (diff) |
new version of godplugin and pulsar alarms, dashboard info (#8364)
bump godplugin to v0.17.0 and add pulsar alarms, dashboard_info
-rw-r--r-- | collectors/COLLECTORS.md | 1 | ||||
-rw-r--r-- | health/Makefile.am | 1 | ||||
-rw-r--r-- | health/health.d/pulsar.conf | 13 | ||||
-rw-r--r-- | packaging/go.d.checksums | 32 | ||||
-rw-r--r-- | packaging/go.d.version | 2 | ||||
-rw-r--r-- | web/gui/dashboard_info.js | 208 |
6 files changed, 240 insertions, 17 deletions
diff --git a/collectors/COLLECTORS.md b/collectors/COLLECTORS.md index 199d34f84e..811622ce7a 100644 --- a/collectors/COLLECTORS.md +++ b/collectors/COLLECTORS.md @@ -104,6 +104,7 @@ collector—we may be looking for contributions from users such as yourself! | [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`). | | [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. | | [portcheck](go.d.plugin/modules/portcheck/README.md) | `TCP Endpoint` | Monitors tcp endpoint availability and response time. | +| [pulsar](go.d.plugin/modules/pulsar/README.md) | [`Apache Pulsar`](http://pulsar.apache.org/) | Collects summary, namespaces and topics performance statistics. | | [rabbitmq](go.d.plugin/modules/rabbitmq/README.md) | [`RabbitMQ`](https://www.rabbitmq.com/) | Collects message broker overview, system and per virtual host metrics. | | [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. | | [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. | diff --git a/health/Makefile.am b/health/Makefile.am index a767abf1d3..5ed8523fcb 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -75,6 +75,7 @@ dist_healthconfig_DATA = \ health.d/portcheck.conf \ health.d/postgres.conf \ health.d/processes.conf \ + health.d/pulsar.conf \ health.d/qos.conf \ health.d/ram.conf \ health.d/redis.conf \ diff --git a/health/health.d/pulsar.conf b/health/health.d/pulsar.conf new file mode 100644 index 0000000000..014789451a --- /dev/null +++ b/health/health.d/pulsar.conf @@ -0,0 +1,13 @@ + +# Availability + +template: pulsar_last_collected_secs + on: pulsar.broker_components + calc: $now - $last_collected_t + units: seconds ago + every: 10s + warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every)) + crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every)) + delay: down 5m multiplier 1.5 max 1h + info: number of seconds since the last successful data collection + to: sysadmin diff --git a/packaging/go.d.checksums b/packaging/go.d.checksums index 2a5223b503..c869ccd485 100644 --- a/packaging/go.d.checksums +++ b/packaging/go.d.checksums @@ -1,16 +1,16 @@ -eee3a36a5290e9c960f5c0dddefd3ad81cbbf3cb5c17a58bfa052f83a2664491 *config.tar.gz -134cc8747cf8da09af1ff8d75949aaa2c993f531a5922b2d17e5dabcb7110358 *go.d.plugin-v0.16.0.darwin-386.tar.gz -055a1cdd213031bd7a953a908761d1e38113cb1be3b36222a8d0ff53cef211cf *go.d.plugin-v0.16.0.darwin-amd64.tar.gz -992b77cbcd6b7011e7cce23cf272b6fff4496fe612e8cc64c682960d19e0c2de *go.d.plugin-v0.16.0.freebsd-386.tar.gz -450bb1c12fad358f57639791a977696b9f2a0d08454b72e55c359b4a9d2af516 *go.d.plugin-v0.16.0.freebsd-amd64.tar.gz -49c30ae1ec8a34eccb9b309b1523b26fc5a3be17c2f01ed50d49755f985bf743 *go.d.plugin-v0.16.0.freebsd-arm.tar.gz -189943a310c7edddf059b86a5fe5bcbf8b7500a257877bd5e2d441c7a5f701e7 *go.d.plugin-v0.16.0.linux-386.tar.gz -30442ed1290c0b3a35d1ddaf58fd95a407d3eb20dc556340fef840915c278f03 *go.d.plugin-v0.16.0.linux-amd64.tar.gz -12065625c51cc957136bb1185b698584c866818b205844b9ccecb8dede5bf2f9 *go.d.plugin-v0.16.0.linux-arm.tar.gz -24e5cf2348c3e3739667b0d64a5580f46e30d56e4a71908976b5259d8e229303 *go.d.plugin-v0.16.0.linux-arm64.tar.gz -0ff30e64a0f25908ca18d2d088f024f8397b6435a5920b4332265c76c010f506 *go.d.plugin-v0.16.0.linux-mips.tar.gz -1592c5af8e44beaae47e8795509a7acdd6f014c12fb0f02cbd31f721f29e047a *go.d.plugin-v0.16.0.linux-mips64.tar.gz -25dd720d31a39236d63cb6e7829ceb1058bbede30a0a7bc7a6370dc090eabd77 *go.d.plugin-v0.16.0.linux-mips64le.tar.gz -246028321a9172e8228f8ae1f451aba54dd70ad8baf73d394bf7169269ed1657 *go.d.plugin-v0.16.0.linux-mipsle.tar.gz -6cd8851bc79fa54c1f92e48a0438c8c7640f7f2e2eff64c8fd960ad490df0fa7 *go.d.plugin-v0.16.0.linux-ppc64.tar.gz -4ec63e504478fa180127dddb95a663465df9c12a0f2de37bcc0f5d4412e55b04 *go.d.plugin-v0.16.0.linux-ppc64le.tar.gz +540c19303c0bc5a673873b14de6c538335dbfa7e33ff6b40ec9cfac185aab9a9 *config.tar.gz +d9ebcb89c2ac05d34a726c689e5f46c15a46e574fb4391230412413c1833915e *go.d.plugin-v0.17.0.darwin-386.tar.gz +b8cde90fdaaebf73a37e144b22043a8c13a41ae31553be04775480c806d3a3d0 *go.d.plugin-v0.17.0.darwin-amd64.tar.gz +101801ee8a46f7ae33b90270a25796c1d67d2ff40b61023dfc3958f0f78c6604 *go.d.plugin-v0.17.0.freebsd-386.tar.gz +4d78aa50e7734bace2b16738ab2a8e000b16bdad4ee818aab1d61df268a23697 *go.d.plugin-v0.17.0.freebsd-amd64.tar.gz +130d76d1d93342d655e5678da9fe0b6eb0f7f366d6fa842a7c85a4747b33d247 *go.d.plugin-v0.17.0.freebsd-arm.tar.gz +c5cf15e323dd495146cffd4ef4f42bc6ffa3888121e57e55ebd84e7188c13ee5 *go.d.plugin-v0.17.0.linux-386.tar.gz +a5f6413bceb55dc70168e3a93663704fc7e6ccf676594d49112d637a78d71a97 *go.d.plugin-v0.17.0.linux-amd64.tar.gz +a8c3bb8e267aafd0e8a020d2f1883d1845a6aa79bf87ae223f46f843c35e57ca *go.d.plugin-v0.17.0.linux-arm.tar.gz +e0b1c8b72e7e8249d6efc51dad22bc4e189bdcd1a1a385b0e6bec34465003d26 *go.d.plugin-v0.17.0.linux-arm64.tar.gz +01fa1ac352ae6f7fd4913d1cb7c8e0fcfd54f132a022adc85993fa29e788b98d *go.d.plugin-v0.17.0.linux-mips.tar.gz +334a3f41639aa2f4ebfa7c529ce73cb72d99d1f6545e679b00087023cf1b279a *go.d.plugin-v0.17.0.linux-mips64.tar.gz +7a3c3af34380117da6bc25293b70a02cdb82234bb9cf6927e9c950a9048d9f80 *go.d.plugin-v0.17.0.linux-mips64le.tar.gz +398425ae9271512c5f0a4a583330dfc18043ef6441cfda3d61a118c60236dbc0 *go.d.plugin-v0.17.0.linux-mipsle.tar.gz +2e448275e3ed8294606cff74f82dfaf0e4873ea4f682a3f7c293e1852d77f06c *go.d.plugin-v0.17.0.linux-ppc64.tar.gz +d9413e61e7eacd230261770f6f4f4f34e5ed2af2d31f0b5d1e15c8e1aea5d3ae *go.d.plugin-v0.17.0.linux-ppc64le.tar.gz diff --git a/packaging/go.d.version b/packaging/go.d.version index cfe6c00945..6b60281ad1 100644 --- a/packaging/go.d.version +++ b/packaging/go.d.version @@ -1 +1 @@ -v0.16.0 +v0.17.0 diff --git a/web/gui/dashboard_info.js b/web/gui/dashboard_info.js index 7846afcffb..16ddb0081c 100644 --- a/web/gui/dashboard_info.js +++ b/web/gui/dashboard_info.js @@ -553,6 +553,12 @@ netdataDashboard.menu = { icon: '<i class="fas fa-comments"></i>', info: 'Performance data for the <b><a href="https://vernemq.com/">VerneMQ</a></b> open-source MQTT broker.' }, + + 'pulsar': { + title: 'Pulsar', + icon: '<i class="fas fa-comments"></i>', + info: 'Summary, namespaces and topics performance data for the <b><a href="http://pulsar.apache.org/">Apache Pulsar</a></b> pub-sub messaging system.' + }, }; @@ -3194,4 +3200,206 @@ netdataDashboard.context = { } ] }, + + // ------------------------------------------------------------------------ + // Apache Pulsar + 'pulsar.messages_rate': { + mainheads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="pulsar_rate_in"' + + ' data-chart-library="easypiechart"' + + ' data-title="Publish"' + + ' data-units="messages/s"' + + ' data-gauge-adjust="width"' + + ' data-width="12%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[0] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + }, + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="pulsar_rate_out"' + + ' data-chart-library="easypiechart"' + + ' data-title="Dispatch"' + + ' data-units="messages/s"' + + ' data-gauge-adjust="width"' + + ' data-width="12%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[1] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + }, + ] + }, + 'pulsar.subscription_msg_rate_redeliver': { + mainheads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="pulsar_subscription_msg_rate_redeliver"' + + ' data-chart-library="gauge"' + + ' data-gauge-max-value="100"' + + ' data-title="Redelivered"' + + ' data-units="messages/s"' + + ' data-gauge-adjust="width"' + + ' data-width="14%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[3] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + } + ] + }, + 'pulsar.subscription_blocked_on_unacked_messages': { + mainheads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="pulsar_subscription_blocked_on_unacked_messages"' + + ' data-chart-library="gauge"' + + ' data-gauge-max-value="100"' + + ' data-title="Blocked On Unacked"' + + ' data-units="subscriptions"' + + ' data-gauge-adjust="width"' + + ' data-width="14%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[3] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + } + ] + }, + 'pulsar.msg_backlog': { + mainheads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="pulsar_msg_backlog"' + + ' data-chart-library="gauge"' + + ' data-gauge-max-value="100"' + + ' data-title="Messages Backlog"' + + ' data-units="messages"' + + ' data-gauge-adjust="width"' + + ' data-width="14%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[2] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + } + ] + }, + + 'pulsar.namespace_messages_rate': { + heads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="publish"' + + ' data-chart-library="easypiechart"' + + ' data-title="Publish"' + + ' data-units="messages/s"' + + ' data-gauge-adjust="width"' + + ' data-width="12%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[0] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + }, + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="dispatch"' + + ' data-chart-library="easypiechart"' + + ' data-title="Dispatch"' + + ' data-units="messages/s"' + + ' data-gauge-adjust="width"' + + ' data-width="12%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[1] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + }, + ] + }, + 'pulsar.namespace_subscription_msg_rate_redeliver': { + heads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="redelivered"' + + ' data-chart-library="gauge"' + + ' data-gauge-max-value="100"' + + ' data-title="Redelivered"' + + ' data-units="messages/s"' + + ' data-gauge-adjust="width"' + + ' data-width="14%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[3] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + } + ] + }, + 'pulsar.namespace_subscription_blocked_on_unacked_messages': { + heads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="blocked"' + + ' data-chart-library="gauge"' + + ' data-gauge-max-value="100"' + + ' data-title="Blocked On Unacked"' + + ' data-units="subscriptions"' + + ' data-gauge-adjust="width"' + + ' data-width="14%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[3] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + } + ] + }, + 'pulsar.namespace_msg_backlog': { + heads: [ + function (os, id) { + void (os); + return '<div data-netdata="' + id + '"' + + ' data-dimensions="backlog"' + + ' data-chart-library="gauge"' + + ' data-gauge-max-value="100"' + + ' data-title="Messages Backlog"' + + ' data-units="messages"' + + ' data-gauge-adjust="width"' + + ' data-width="14%"' + + ' data-before="0"' + + ' data-after="-CHART_DURATION"' + + ' data-points="CHART_DURATION"' + + ' data-colors="' + NETDATA.colors[2] + '"' + + ' data-decimal-digits="2"' + + ' role="application"></div>'; + }, + ], + }, }; |