Releases: matjaz99/alertmonitor
Releases · matjaz99/alertmonitor
2.4.0
2.3.0
- [CHANGE] Webhook accepts only POST requests now
- [CHANGE] Environment variable
ALERTMONITOR_JOURNAL_SIZE
is now obsolete, and it is replaced byALERTMONITOR_DATA_RETENTION_DAYS
- [FEATURE] Introducing MongoDB. Webhook messages and journal of alerts is stored in MongoDb (if enabled, otherwise in-memory storage is used)
- [FEATURE] Warning messages, in Statistics view (aka. Alertmonitor's internal alarms)
- [FEATURE] Separate alert.log only for alerts
- [ENHANCEMENT] Redesigned synchronization procedure
- [ENHANCEMENT] Added metric
alertmonitor_psync_success
which returns 1 if last psync was successful. - [ENHANCEMENT] Added metrics for database operations:
alertmonitor_db_inserts_total
,alertmonitor_db_queries_total
,
alertmonitor_db_updates_total
,alertmonitor_db_deletes_total
,alertmonitor_db_failures_total
- [ENHANCEMENT] Added
age
parameter to alert to show difference between first and clear timestamp. - [ENHANCEMENT] Added buttons for easier configuration of time intervals in query ranges.
- [ENHANCEMENT] Added hashes (#) in front of tags to emphasize their meaning
- [ENHANCEMENT] Added
ALERTMONITOR_HTTP_CLIENT_READ_TIMEOUT_SEC
environment variable to set the
HTTP client read timeout. Also, configurable in Configuration view. - [ENHANCEMENT] Added
prometheusId
which consists of a set of labels, that identify this prometheus server.
Which labels denote to the ID are configurable with environment variableALERTMONITOR_PROMETHEUS_ID_LABELS
.
Example:cluster, region, monitor
. - [ENHANCEMENT] Improved error handling with Prometheus API
- [ENHANCEMENT] A lot of refactoring
- [BUG] Fixed (#18)
- [BUG] Bugfix (#18)
2.2.0
2.1.0
- [CHANGE] Journal view link removed from toolbar and moved to Statistics view.
- [FEATURE] Support for Prometheus
query
API. Supported resultTypes arevector
andmatrix
. - [FEATURE] Query view for making PromQL queries. Results are displayed with human-readable timestamps.
- [ENHANCEMENT] Styling improvements
2.0.0
- [CHANGE] There are so many improvements in this release, the version is upgraded to 2.
- [CHANGE] Licensed under Apache-2.0 License
- [CHANGE] Webhook view link removed from toolbar
- [CHANGE] Updated GUI styling due to update of Primefaces library
- [CHANGE] Environment variable
ALERTMONITOR_PSYNC_ENDPOINT
is now deprecated. Instead,
useALERTMONITOR_PROMETHEUS_SERVER
and without/api/v1/alerts
. Just schema, host and port. - [CHANGE] Alerts with severity
indeterminate
andinformational
are now also displayed in list of active alerts - [FEATURE] Prometheus API implementation
- [FEATURE] Retrieving targets from Prometheus
- [FEATURE] SmartTargets. The concept of SmartTargets is not new as Alertmonitor already did it in Targets view. It's just
that Targets are now retrieved from Prometheus. And you can now switch between: instance or SmartTarget view. - [FEATURE] Reload Prometheus config button
- [FEATURE] Load alert rules and show them in alerts
- [FEATURE] Kafka publisher will send each received alert to Kafka topic. Added environment variables for
configuration:ALERTMONITOR_KAFKA_ENABLED
(default=false),ALERTMONITOR_KAFKA_SERVER
, and
ALERTMONITOR_KAFKA_TOPIC
. This is an experimental feature. - [FEATURE] Configuration view for changing runtime parameters
- [ENHANCEMENT] Added metric
alertmonitor_prom_api_duration_seconds
for monitoring Prometheus API response time.
This is a replacement foralertmonitor_psync_task_total
which is now obsolete. - [ENHANCEMENT] Styling improvements
- [ENHANCEMENT] Targets have colored background according to its health (status)
- [ENHANCEMENT] Search/filter also checks fields: alert name, info, instance/hostname, job, description
- [ENHANCEMENT] Targets view now supports searching targets
- [ENHANCEMENT] Updated prometheus simple client java library to 0.12.0
- [ENHANCEMENT] Updated Primefaces java library to 11.0.0
- [ENHANCEMENT] Get other labels as well, not just 'supported' ones. Eg. external_labels
- [ENHANCEMENT] Severity
indeterminate
andinformational
are shown as tags as well - [BUG] Fixed typos
1.6.0
- [CHANGE] Target view shows also targets with no active alerts (targets with at least one record in journal).
- [CHANGE]
currentValue
moved to annotations (see bug below) - [FEATURE] Periodic synchronisation of active alerts (#16)
- [FEATURE] About view with basic configuration options
- [FEATURE] Added PsyncTask for periodically checking active alerts
- [FEATURE] Added environment variables for configuration:
ALERTMONITOR_PSYNC_INTERVAL_SEC
,ALERTMONITOR_PSYNC_ENDPOINT
,ALERTMONITOR_DATE_FORMAT
- [ENHANCEMENT] Added periodic sync statistics
- [ENHANCEMENT] Added metric
alertmonitor_psync_task_total
andalertmonitor_psync_interval_seconds
- [ENHANCEMENT] Show number of alerts in last hour in statistics
- [ENHANCEMENT] Instance view shows active alerts and journal
- [ENHANCEMENT] Added
clearTimestamp
andclearUid
to alerts; timestamp when alert was cleared - [ENHANCEMENT] Added javadoc
- [ENHANCEMENT] Configure the journal size with
ALERTMONITOR_JOURNAL_SIZE
environment variable (#13) - [BUG] Label may not contain a variable such as
currentValue
. Must be moved toannotations
- [BUG] Fixed stripping hostname from instance
1.5.0
1.4.0
- [CHANGE] Renamed label
sourceInfo
toinfo
- [CHANGE] Annotation
summary
is ignored, all data should go to labelinfo
- [CHANGE]
description
is read from a label if exists, otherwise from annotation - [FEATURE] Target view, strip instance down to hostname (#10)
- [FEATURE] Show active alerts by targets
- [FEATURE] Environment variable substitution (#11)
- [FEATURE] Added small icon representing highest severity on targets
- [ENHANCEMENT] Added security constraints for restricted access to some directories (web.xml)
- [ENHANCEMENT] URLs without .xhtml extension
- [ENHANCEMENT] Added timestamp of first occurrence of alert
- [ENHANCEMENT] Update timestamp of last occurrence of alert
- [ENHANCEMENT] Supported new labels
team
,currentValue
,url
,eventType
,probableCause
- [BUGFIX] Fixed exception when removing obsolete tags if there are no more active alerts
1.3.0
1.3.0
- [FEATURE] Introducing tags (#6)
- [FEATURE] Custom JSF component for rendering tags
- [FEATURE] Filtering active alerts by tags
- [FEATURE] Added simple-logger for logging (#9)
- [ENHANCEMENT] Upgrade of Grafana dashboard (v2)
- [ENHANCEMENT] Install curl in container
- [ENHANCEMENT] Added healthcheck to docker-compose file (by using curl)
- [ENHANCEMENT] Added local IP address in footer
1.2.0
- [FEATURE] Added startUpTime (OnStart listener)
- [FEATURE] Metrics endpoint for prometheus (#5)
- [FEATURE] Supported metrics:
alertmonitor_build_info
,alertmonitor_webhook_messages_received_total
,alertmonitor_journal_messages_total
,alertmonitor_active_alerts_count
,alertmonitor_alerts_balance_factor
,alertmonitor_last_event_timestamp
- [FEATURE] Show version in GUI (in footer)
- [ENHANCEMENT] Added example Grafana dashboard (see docs/grafana_dashboards)
- [ENHANCEMENT] A lot of refactoring
- [BUGFIX] fixed calculation of up time