Skip to content

Commit

Permalink
Version 1.1.15 (#11)
Browse files Browse the repository at this point in the history
* Version 1.1.14

- feature: Migration to native modal windows for user interactions in the alerting management user interface (removal of bootbox js plugin)
- feature: Improvement of the maintenance mode workflow: maintenance mode is now time conditioned with an end of maintenance period requested via UI calendar during activation
- feature: Hourly schedule of the maintenance mode status verification report

* Version 1.1.14

- feature: Major improvements of the user experience with the management of embedded alerting via modal contextual user interactions
- feature: Maintenance mode is now time conditioned with an end of maintenance period requested via UI calendar during activation
- feature: Migration to native modal windows for user interactions in the alerting management user interface (removal of bootbox js plugin)
- feature: Default schedule change of the maintenance mode status verification report
- feature: Request Splunk restart by default in app.conf
- fix: Kafka Connect tasks that are paused do not properly affect the aggregated state single form in Overview
- fix: Add Kafka Connect tasks in the dynamic table tasks overview if the tasks are listed as monitored in the collection, and the tasks do not report metrics currently (collection stopped, tasks were removed but not from collection)
- fix: Burrow task single form in Overview page results in appendcols related error in Overview page within Splunk 7.0.x

* Version 1.1.15

- feature: Major improvements of the user experience with the management of embedded alerting via modal contextual user interactions
- feature: Maintenance mode is now time conditioned with an end of maintenance period requested via UI calendar during activation
- feature: Migration to native modal windows for user interactions in the alerting management user interface (removal of bootbox js plugin)
- feature: Default schedule change of the maintenance mode status verification report
- feature: Request Splunk restart by default in app.conf
- fix: Kafka Connect tasks that are paused do not properly affect the aggregated state single form in Overview
- fix: Burrow task single form in Overview page results in appendcols related error in Overview page within Splunk 7.0.x
- fix: Regression in Kafka Connect task listing for Splunk 7.0.x in PostProcess search due to append (introduced by Alerting Management UI)
- fix: Regression in dynamic table overview for Kafka Connect status per task in Overview (introduced by 1.1.14)
  • Loading branch information
guilhemmarchand committed Mar 24, 2019
1 parent 946b24b commit dd93b65
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 23 deletions.
14 changes: 14 additions & 0 deletions docs/releasenotes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Release notes
#############

==============
Version 1.1.15
==============

- feature: Major improvements of the user experience with the management of embedded alerting via modal contextual user interactions
- feature: Maintenance mode is now time conditioned with an end of maintenance period requested via UI calendar during activation
- feature: Migration to native modal windows for user interactions in the alerting management user interface (removal of bootbox js plugin)
- feature: Default schedule change of the maintenance mode status verification report
- feature: Request Splunk restart by default in app.conf
- fix: Kafka Connect tasks that are paused do not properly affect the aggregated state single form in Overview
- fix: Burrow task single form in Overview page results in appendcols related error in Overview page within Splunk 7.0.x
- fix: Regression in Kafka Connect task listing for Splunk 7.0.x in PostProcess search due to append (introduced by Alerting Management UI)
- fix: Regression in dynamic table overview for Kafka Connect status per task in Overview (introduced by 1.1.14)

==============
Version 1.1.14
==============
Expand Down
2 changes: 1 addition & 1 deletion telegraf-kafka/default/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ label = Kafka Smart Monitoring
[launcher]
author = Guilhem Marchand
description = Kafka Smart Monitoring provides advanced and fast monitoring of Kafka and Confluent streaming platform
version = 1.1.14
version = 1.1.15
22 changes: 14 additions & 8 deletions telegraf-kafka/default/data/ui/html/telegraf-kafka-alerting.html
Original file line number Diff line number Diff line change
Expand Up @@ -2112,16 +2112,22 @@ <h2 class="panel-title">Collection content: click on a table row to access objec
tokenNamespace: "submitted"
});

var search_connect_main_table = new PostProcessManager({
"managerid": "search_connect_no_connectors_mainsearch",
// Do not use PostProcessManager here due to append which will breake in Splunk 7.0.x
var search_connect_main_table = new SearchManager({
"id": "search_connect_main_table",
"search": "eval keyid = _key | fillnull value=\"unknown\" env, label | append [ | mstats latest(_value) as task_state_id where `telegraf_kafka_index` metric_name=\"kafka_connect.connector-task.status\" connector=* by connector, env, label, jolokia_agent_url, task span=1s | stats min(task_state_id) as task_state_id by env, label, connector | eval task_state=case(task_state_id=0, \"paused\", task_state_id=1, \"running\", task_state_id=2, \"unassigned\", task_state_id=3, \"failed\", task_state_id=4, \"destroyed\") ] | stats values(*) as \"*\" by env, label, connector | search $search_tk_connect_env$ $search_tk_connect_label$ $search_tk_connect_connector$ $search_tk_connect_role$ $search_tk_connect_monitoring_state$ | fields keyid, env, label, connector, role, grace_period, task_state, monitoring_state | sort 0 env, label, connector | eval range=if(monitoring_state=\"enabled\", \"low\", \"severe\")",
"tokenDependencies": {},
"sample_ratio": 1,
"earliest_time": "-15m",
"cancelOnUnload": true,
"search": "| inputlookup kafka_connect_tasks_monitoring | eval keyid = _key | fillnull value=\"unknown\" env, label | append [ | mstats latest(_value) as task_state_id where `telegraf_kafka_index` metric_name=\"kafka_connect.connector-task.status\" connector=* by connector, env, label, jolokia_agent_url, task span=1s | stats min(task_state_id) as task_state_id by env, label, connector | eval task_state=case(task_state_id=0, \"paused\", task_state_id=1, \"running\", task_state_id=2, \"unassigned\", task_state_id=3, \"failed\", task_state_id=4, \"destroyed\") ] | stats values(*) as \"*\" by env, label, connector | search $search_tk_connect_env$ $search_tk_connect_label$ $search_tk_connect_connector$ $search_tk_connect_role$ $search_tk_connect_monitoring_state$ | fields keyid, env, label, connector, role, grace_period, task_state, monitoring_state | sort 0 env, label, connector | eval range=if(monitoring_state=\"enabled\", \"low\", \"severe\")",
"latest_time": "now",
"status_buckets": 0,
"app": utils.getCurrentApp(),
"auto_cancel": 90,
"preview": true,
"tokenDependencies": {
},
"runWhenTimeIsUndefined": false
}, {
tokens: true,
tokenNamespace: "submitted"
});
}, {tokens: true, tokenNamespace: "submitted"});

var modal_input_kafka_connector_grace_period = new DropdownInput({
"id": "modal_input_kafka_connector_grace_period",
Expand Down
16 changes: 2 additions & 14 deletions telegraf-kafka/default/data/ui/views/overview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1122,13 +1122,7 @@
<table id="table_source_tasks">
<title>Kafka Connect source connector tasks status (click on the row to open entity view for that connector)</title>
<search depends="$show_source_tasks$">
<query>| savedsearch "Kafka monitoring - tasks status report" | search $env$ $label$ | where role="kafka_source_task" | fields - integer_status
| append [ inputlookup kafka_connect_tasks_monitoring | search $env$ $label$ | where monitoring_state="enabled" | where role="kafka_source_task" ]
| stats first(*) as "*", values(jolokia_agent_url) as jolokia_agent_url by env, label, connector
| fields env, label, jolokia_agent_url, connector, role, task, status, lastTime, range
| fillnull value="severe" range
| fillnull value="time range out of scope, state undetermined" lastTime
| fillnull value="undetermined" status</query>
<query>| savedsearch "Kafka monitoring - tasks status report" | search $env$ $label$ | where role="kafka_source_task" | fields - integer_status</query>
<earliest>-15m</earliest>
<latest>now</latest>
<refresh>90s</refresh>
Expand Down Expand Up @@ -1173,13 +1167,7 @@
<table id="table_sink_tasks">
<title>Kafka Connect sink connector tasks status (click on the row to open entity view for that connector)</title>
<search depends="$show_sink_tasks$">
<query>| savedsearch "Kafka monitoring - tasks status report" | search $env$ $label$ | where role="kafka_sink_task" | fields - integer_status
| append [ inputlookup kafka_connect_tasks_monitoring | search $env$ $label$ | where monitoring_state="enabled" | where role="kafka_sink_task" ]
| stats first(*) as "*", values(jolokia_agent_url) as jolokia_agent_url by env, label, connector
| fields env, label, jolokia_agent_url, connector, role, task, status, lastTime, range
| fillnull value="severe" range
| fillnull value="time range out of scope, state undetermined" lastTime
| fillnull value="undetermined" status</query>
<query>| savedsearch "Kafka monitoring - tasks status report" | search $env$ $label$ | where role="kafka_sink_task" | fields - integer_status</query>
<earliest>-15m</earliest>
<latest>now</latest>
<refresh>90s</refresh>
Expand Down
Binary file removed telegraf-kafka_1114.tgz
Binary file not shown.
Binary file added telegraf-kafka_1115.tgz
Binary file not shown.

0 comments on commit dd93b65

Please sign in to comment.