VictoriaMetrics/docs/anomaly-detection/CHANGELOG.md
Daria Karavaieva 7ad16c8f17
add 1.8.0 notes to changelog (#5616)
* add 1.8.0 notes to changelog

* added release date

* MAD internal link

* monitoring health deprecation
2024-01-23 02:31:21 +02:00

6.1 KiB

sort weight title menu aliases
3 5 CHANGELOG
docs
identifier parent weight
vmanomaly-changelog anomaly-detection 5
/anomaly-detection/CHANGELOG.html

CHANGELOG

Please find the changelog for VictoriaMetrics Anomaly Detection below.

The following tip changes can be tested by building from the latest tag:

docker pull us-docker.pkg.dev/victoriametrics-test/public/vmanomaly-trial:latest

Please find launch instructions here.

tip

v1.8.0

Released: 2024-01-15

  • FEATURE: Added Univariate MAD (median absolute deviation) model support.
  • IMPROVEMENT: Update Python to 3.12.1 and all the dependencies.
  • IMPROVEMENT: Don't check /health endpoint, check the real /query_range or /import endpoints directly. Users kept getting problems with /health.
  • DEPRECATION: "health_path" param is deprecated and doesn't do anything in config (reader, writer, monitoring.push).

v1.7.2

Released: 2023-12-21

  • FIX: fit/infer calls are now skipped if we have insufficient valid data to run on.
  • FIX: proper handling of inf and NaN in fit/infer calls.
  • FEATURE: add counter of skipped model runs vmanomaly_model_runs_skipped to healthcheck metrics.
  • FEATURE: add exponential retries wrapper to VmReader's read_metrics().
  • FEATURE: add BacktestingScheduler for consecutive retrospective fit/infer calls.
  • FEATURE: add improved & numerically stable anomaly scores.
  • IMPROVEMENT: add full config validation. The probability of getting errors in later stages (say, model fit) is greatly reduced now. All the config validation errors that needs to be fixed are now a part of logging.

    note: this is an backward-incompatible change, as model config section now expects key-value args for internal model defined in nested args.

  • IMPROVEMENT: add explicit support of gzip-ed responses from vmselect in VmReader.

v1.6.0

Released: 2023-10-30

  • IMPROVEMENT:
    • now all the produced healthcheck metrics have vmanomaly_ prefix for easier accessing.
    • updated docs for monitoring.

    note: this is an backward-incompatible change, as metric names will be changed, resulting in new metrics creation, i.e. model_datapoints_produced will become vmanomaly_model_datapoints_produced

  • IMPROVEMENT: Set default value for --log_level from DEBUG to INFO to reduce logs verbosity.
  • IMPROVEMENT: Add alias --log-level to --log_level.
  • FEATURE: Added extra_filters parameter to reader. It allows to apply global filters to all queries.
  • FEATURE: Added verify_tls parameter to reader and writer. It allows to disable TLS verification for remote endpoint.
  • FEATURE: Added bearer_token parameter to reader and writer. It allows to pass bearer token for remote endpoint for authentication.
  • BUGFIX: Fixed passing workers parameter for reader. Previously it would throw a runtime error if workers was specified.

v1.5.1

Released: 2023-09-18

  • IMPROVEMENT: Infer from the latest seen datapoint for each query. Handles the case datapoints arrive late.

v1.5.0

Released: 2023-08-11

  • FEATURE: add --license and --license-file command-line flags for license code verification.
  • IMPROVEMENT: Updated Python to 3.11.4 and updated dependencies.
  • IMPROVEMENT: Guide documentation for Custom Model usage.

v1.4.2

Released: 2023-06-09

  • FIX: Fix case with received metric labels overriding generated.

v1.4.1

Released: 2023-06-09

  • IMPROVEMENT: Update dependencies.

v1.4.0

Released: 2023-05-06

  • FEATURE: Reworked self-monitoring grafana dashboard for vmanomaly.
  • IMPROVEMENT: Update python version and dependencies.

v1.3.0

Released: 2023-03-21

  • FEATURE: Parallelized queries. See reader.workers param to control parallelism. By default it's value is equal to number of queries (sends all the queries at once).
  • IMPROVEMENT: Updated self-monitoring dashboard.
  • IMPROVEMENT: Reverted back default bind address for /metrics server to 0.0.0.0, as vmanomaly is distributed in Docker images.
  • IMPROVEMENT: Silenced Prophet INFO logs about yearly seasonality.

v1.2.2

Released: 2023-03-19

  • FIX: Fix for metric label to pass QUERY_KEY.
  • FEATURE: Added timeout config param to reader, writer, monitoring.push.
  • FIX: Don't hang if scheduler-model thread exits.
  • FEATURE: Now reader, writer and monitoring.push will not halt the process if endpoint is inaccessible or times out, instead they will increment metrics *_response_count{code=~"timeout|connection_error"}.

v1.2.1

Released: 2023-02-18

  • FIX: Fixed scheduler thread starting.
  • FIX: Fix rolling model fit+infer.
  • BREAKING CHANGE: monitoring.pull server now binds by default on 127.0.0.1 instead of 0.0.0.0. Please specify explicitly in monitoring.pull.addr what IP address it should bind to for serving /metrics.

v1.2.0

Released: 2023-02-04

  • FEATURE: With arg --watch watches for config(s) changes and reloads the service automatically.
  • IMPROVEMENT: Remove "provide_series" from HoltWinters model. Only Prophet model now has it, because it may produce a lot of series if "holidays" is on.
  • IMPROVEMENT: if Prophet's "provide_series" is omitted, then all series are returned.
  • DEPRECATION: Config monitoring.endpount_url is deprecated in favor of monitoring.url.
  • DEPRECATION: Remove 'enable' param from config monitoring.pull. Now /metrics server is started whenever monitoring.pull is present.
  • IMPROVEMENT: include example configs into the docker image at /vmanomaly/config/*
  • IMPROVEMENT: include self-monitoring grafana dashboard into the docker image under /vmanomaly/dashboard/vmanomaly_grafana_dashboard.json

v1.1.0

Released: 2023-01-23

  • IMPROVEMENT: update Python dependencies
  • FEATURE: Add multivariate IsolationForest model.

v1.0.1

Released: 2023-01-06

  • FIX: prophet model incorrectly predicted two points in case of only one

v1.0.0-beta

Released: 2022-12-08

  • First public release is available