bosun v0.8.0 Release Notes

Release Date: 2018-10-10 // about 1 year ago
  • πŸš€ 0.8.0-Preview Release Notes

    Bosun

    ⬆️ Upgrading

    πŸš€ Since it has been over a year since the previous release it is possible not all breaking changes are accounted for, so you should test this out first and backup your redis/ledis data. Some known breaking changes:

    • πŸ‘€ The elastic configuration is different, see System configuration :: ElasticConf for an example of what it should look like
    • πŸ‘ In order to support linking related incidents, a migration will run on the redis/ledis data on the first startup which will need to complete before Bosun starts running

    Major Changes

    Expression Language Changes

    Misc Enhancements

    • πŸ”§ Configuration: support RuleVars in system configuration for obscuring secrets. c699b45
    • ⏱ Scheduler : distributed alert checks can be enabled to prevent high load spikes #2249
    • πŸ’» UI : native short links in bosun instead of goo.gl #2210
    • πŸ’» UI : added setting for example expression in *.toml #2261
    • πŸ’» UI : disable items menu point for environments without OpenTSDB configuration #2267
    • πŸ’» UI : replace textarea with aceeditor in expr #2266
    • πŸ’» UI : fix incident view for closed incidents #2315
    • Incident Filters : added incident filter since #2215
    • Notifications : added extra info to unknown templates #2269
    • 🌲 Logging : improve logs #2299 #2218
    • Elastic : added ES SimpleClient support for bosun backend and annotation. #1947
    • Templates : add Scheme option to system configuration so generated links can be https #2209
    • Auth : support for LDAP user authentication. #2181
    • Expr : print db when profiling InfluxDB queries #2235
    • API : add notification stats to health endpoint #2222

    πŸ›  Misc Fixes

    • πŸ’» UI: silence view: fix durations #2311
    • πŸ’» UI : incident view: fix durations #2312
    • πŸ’» UI : fix "items" flashing with ng-cloak #2313 / #2286
    • πŸ’» UI : remove not used errors column in rule editor #2270
    • πŸ’» UI : fixed tags parameter for silencing button on dashboard #2265
    • Expr : fix math operations on results of aggr #2306
    • Expr : fix parsing of OpenTSDB 2.2+ filters so that only group terms get added to the result tag set #2212
    • Expr : Fix influxdb query caching #2234
    • API : routes should never serve home page as html. #2284
    • Silence : fix scheduled auto-forget silences #2120
    • Incident Filters : Fix user field #2246
    • Elastic : fix conflicts when using multiple ES cluster with client options enable. #2239
    • Notifications : fix issues with actionBodyForceClose, actionBodyDelayedClo and actionBodyCancelClose #2198
    • Notifications : fix macros for Notifications #2199
    • Notifications : fixed wrong nested ul in unknown notify #2208
    • Notifications : follow lookups for notification validation. #2168
    • Notifications : stop sending mail if 'To' slice empty #2217
    • Notifications : fix post notification logging #2196

    Misc Code Changes

    • Expr : Refactor: move miniprofiler Timer to state #2287
    • Expr : Add origin to expr state #2317
    • Expr : remove elastic v1 "logstash" code #2178

    scollector

    • πŸ“ˆ avoid panic in google analytics collector #2291
    • βž• add sync stats to redis collector #2232
    • 🏁 (wip) windows remote access services (ras) metrics #2245
    • 🐧 include slab as free mem for linux os.mem #2250
    • 🐧 more accurate linux mem free if available #2252
    • βž• Added Elastic config options #2257
    • πŸ‘Œ support new time format for puppet 5 #2191
    • βž• add windows support to puppet collector #2227
    • βž• add NETDataProviderForSqlServer metrics #2225
    • ⚑️ Update linux interface collector names. #1985
    • βž• Added SSL collectors into extrahop collector #1824
    • πŸ› bug fixes for Azure EA billing #1984
    • ⚑️ Updated Azure EA collector to add new tags. #2011
    • πŸ›  Fix bug in AWS billing collector. #2156
    • πŸ›  Fixed bug in ElasticSearch collector for Elastic 5.x #2155
    • πŸ‘ Allow Elasticsearch Auth and TLS #2308

    πŸ“„ docs

    • transpose t() explanation #2300
    • Document json, makeSlice, and makeMap template functions #2241
    • ⚑️ update system_configuration docs to reflect RedisDb configuration var… #2220

    πŸ— build

    • βœ‚ remove esv5 argument #2318
    • travis go verion 1.10.3 to 1.11 #2319

    silence

    • πŸ‘‰ use SSL to talk to bosun #2278

    Other

    • ⚑️ Update WMI to support int[] #2213

Previous changes from v0.6.0

  • πŸš€ 0.6.0-beta Release Notes

    Bosun

    πŸ”§ The main goal of Bosun 0.6.0 was to smooth out the alert creation and editing workflow. Previously, users would have to copy the configuration from Bosun's UI, get it to the server, and then restart the process. Now users can edit the config directly from Bosun's UI, and the changes will be loaded without restarting the bosun process. Since the rules can now be edited via Bosun's UI, authorization via LDAP and SSL support has been added as well.

    Major Changes:

    ⬆️ Upgrading

    • πŸ”§ Since the configuration file has been split, you will need to move some of what used be in the config into system configuration.
    • ⬆️ On the first execution, a database schema migration will take place that can take several minutes. During this time bosun will not be available. It is recommended to back up Bosun's database before the upgrade.

    Other Changes

    • πŸ†• New Expression Functions:
    • πŸ†• New Template Functions / Variables: notNil, .LastError, and .Errors
    • πŸ’» Comments are now allowed in the Expression Page in Bosun's UI.
    • Bosun's navbar now shows if quiet mode is enabled.
    • Notes can now be added to incidents.
    • πŸ‘Œ Improved Bosun's incident view.
    • πŸ‘Œ Improved Bosun's graph page to be more keyboard friendly: better order of fields with the TAB key and shift-enter within text fields will execute.
    • ⚑️ Updated Influx library to be compatible with current versions.
    • 🐎 Optimized elastic query performance by not fetching indices and fix bug caused by indices not being part of the cache key #1931.
    • πŸ›  Fixed issue in scheduler where adjacent runs would be given the same to represent "now" #2029.
    • πŸ‘ Allow the empty tagset to be a dependency for alerts that have tags #2027.
    • πŸ’» Adjustments to Bosun's UI to make it more vertically compact.
    • πŸ›  Fixed HTTP template funcs to have a shorter timeout so they don't block template rendering for too long when they timeout.
    • πŸ‘ Allow empty tagsets in silence silence: allow empty tag sets #1860.

    Expected Changes Between Beta and 0.6.0 final:

    • πŸ”Œ Tooling outside of the Bosun process doesn't have auth support (except for the Grafana Plugin). The following will have auth support before final: scollector, (cli tools: annotate, silence), tsdbrelay, BosunReporter.NET, and Opserver.
    • πŸ‘Œ Support for multiple Elastic backends in a single instance may be added. If this happens the syntax for the system configuration (toml file) of elastic might change.

    tsdbrelay:

    • πŸ›  fix http: proxy error: EOF due to mixing Content-Encoding headers #1889
    • πŸ“‡ enable version numbers, fix metadata, add error metrics #1859
    • enable expvar to help with troubleshooting
    • Drain body responses in tsdbrelay/scollector/collect so that the connection is eligible for reuse #2036

    scollector:

    • Google webmaster: Skip new "sc-set" sites that we can't do API calls on. #2032
    • 🐎 TOML flag to enable SWbemServices worker for better WMI performance in Windows #2028
    • πŸ› Bug fixes for Azure EA billing #1984
    • βž• Added Azure Enterprise Agreement billing collector #1903
    • πŸ–¨ Process monitoring: track process PIDs as a metric #1964
    • When WatchedProc processes die, clean them up #1962
    • πŸ› Bug fix for DNS collector #1920
    • ⚑️ Update SNMP timeout from 5s to 30s and allow override #1900
    • Set custom UserAgent and use facebookgo/httpcontrol for 60s RequestTimeout #1878
    • βž• add a kill switch for total private memory used by scollector #1866
    • πŸ›  fix empty host= tags not working after PR #1856 #1871
    • πŸ›  fix DisableSelf flag not working for version/post.batchsize #1868
    • πŸ›  bugfix - datapoint validation #1856
    • Check for NaN in Valid() #1864
    • πŸ‘· mssql.agent.* for monitoring SQL Agent jobs #1855
    • skip md volumes if mdadm binary is missing #1850
    • πŸ†• new MSSQL buffer/memory metrics #1849
    • ⚑️ update wmi package #1843 and #1837
    • πŸ›  Fix WMI names for HP EVA #1852
    • πŸ›  Fix dsc StartDate parsing #1994
    • elasticsearch: Include cluster tag in cluster health metrics.
    • πŸ›  fix httpunit hu.time_total by casting to int64
    • βž• add IsRemote flag for cadvisor collector to disable block device lookups

    other:

    • βž• Add ackTime to incident filters #2014
    • 0️⃣ Default to limited duration on tagv search. #1977
    • Have opentsdb.Duration implement encoding.TextUnmarshaler. #1975
    • βž• Add google_webmaster collector. #1959
    • πŸ›  fix typo for container.fs.available #1948
    • Making redis monitoring a little prettier. #1944

    misc:

    • πŸ“¦ util package: don't try to clean IP addresses. Also don't clean twice on Set #1902
    • vendor: annotate (new middleware methods) #1943
    • ⚑️ vendor: update vendor/github.com/godbus/dbus #1858
    • collect: creating buffer pool for sending datapoints #1838
    • collect: Add null check on error #1894