> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/release_notes/2.2.1_release_notes.md). Agents can also search and read this documentation through its [MCP server](https://docs.facephi.com/~gitbook/mcp).

# 2.2.1

**Release date:** September 23, 2026

## Overview

Facephi Finger Service 2.2.1 lets you adjust the thresholds used per deployment to `GET /api/v1/finger/metrics` classify the service status and publish its alerts, and fixes the status message for valid licenses. It does not change the fingerprint operation contract: requests and responses from 2.2.0 remain valid.

## What's new

### Configurable operational metrics thresholds

The status classification (`state.classification`) and alerts from `GET /api/v1/finger/metrics` use these thresholds, which can now be adjusted without a new release:

| Parameter                               | Default | Purpose                                                                                                        |
| --------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| `metrics_saturation_queue_p95_ms`       | `250`   | 95th percentile of queue latency (1 minute, ms) above which the queue is considered saturated                  |
| `metrics_saturation_min_inflight_ratio` | `1.0`   | Fraction of `number_of_threads` that in-flight requests must exceed for the service to be considered saturated |
| `metrics_error_rate_warning`            | `0.05`  | 5-minute error rate at which the service is classified as `degraded` and `HIGH_ERROR_RATE`                     |
| `metrics_idle_rps_threshold`            | `0.01`  | 15-minute requests per second below which the service is classified as `idle`                                  |
| `metrics_quality_alert_window_seconds`  | `900`   | Window during which a low-quality extraction keeps the alert `LOW_QUALITY`; `0` active; it is deactivated      |

* They are configured in `config.json`, using the environment variables `FACEPHI_FINGER_REST_METRICS_*` (for example, `FACEPHI_FINGER_REST_METRICS_ERROR_RATE_WARNING`) or at runtime with `POST /api/v1/finger/config`.
* A value that cannot be parsed, or is negative, is discarded with a log warning, and the value from the next-highest-priority source is used. This means a typo never leaves the service without a valid classification policy.
* The thresholds only change how the snapshot is summarized; they do not change fingerprint processing.

### Changes to classification and alerts

* The `LOW_QUALITY` alert is time-based: it is deactivated when no low-quality extraction is observed for `metrics_quality_alert_window_seconds`, even if the cumulative proportion of low-quality extractions remains above the threshold. Its `since` indicates the start of the current low-quality episode; `quality.summary.lowQualitySince` continues to indicate the first low-quality extraction since startup.
* The `saturated` classification requires in-flight requests to strictly exceed the configured number of threads, so the request that reads `/metrics` no longer counts as pending work in a single-threaded service.

### Fixes

* With a valid license, `license.statusMessage` from `GET /api/v1/finger/health` and `state.license.statusMessage` from `GET /api/v1/finger/metrics` show `The license is valid.`. In version 2.2.0, they showed `Unrecognized licensing error code: LF_OK. Please contact support.`, a cosmetic message that did not indicate any problem.

## Migration notes

* There is no need to change integrations from version 2.2.0.
* If your dashboards or alerts relied on `LOW_QUALITY` remaining active, note that it is now disabled after `metrics_quality_alert_window_seconds` without any low-quality extractions.
* If your probes or alerts compared `license.statusMessage` with the text from version 2.2.0, compare `license.valid`.

## Deployment

```bash
docker pull facephicorp.jfrog.io/docker-pro-fphi/facephi-finger-service:2.2.1

docker run -d \
  -p 6982:6982 \
  -v /path/to/license:/app/license \
  -v /path/to/config:/app/config \
  --name finger-service \
  facephicorp.jfrog.io/docker-pro-fphi/facephi-finger-service:2.2.1
```

## Requirements

| Component        | Requirement                |
| ---------------- | -------------------------- |
| Operating system | Linux x86\_64              |
| License          | Valid Facephi license file |
| Docker           | Recommended for deployment |

## Known limitations

* Fingerprint operation endpoints are only available when the service is running in the `master`.
* Dynamic configuration updates are applied in memory and are not persisted automatically.
* Only connection parameters for processing (on the `master`) and the `metrics_*` thresholds are applied at runtime; all other settings require restarting the service.

## Documentation

* [Installation guide](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/installation/installation_instructions.md)
* [Technical specifications](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/technical_documentation/technical_specifications.md)
* [Changelog](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/changelog.md)

## Support

For Technical Support, contact your Facephi representative.
