DBSCAN :: Kloudfuse Docs

DBSCAN

Kloudfuse provides Density-based spatial clustering of applications with noise (DBSCAN) implementation of Outlier Detection.

Parameters

tolerance

In DBSCAN, the tolerance level, or eps, determines the clustering radius of the neighborhood around each point. The eps controls the sensitivity of outlier detection. A lower tolerance detects more subtle outliers, while a higher tolerance detects only the most significant deviations.

How it works

DBSCAN groups the input series by similarity: series whose behavior falls within a small neighborhood of each other form dense clusters, and clusters grow outward through chains of neighboring series. Series that end up in no cluster are the outliers — fleet members behaving unlike their peers. The tolerance parameter scales the neighborhood size, so lower values flag smaller deviations as outliers.

In Dashboards

To use dbscan in a dashboard, apply the following function:

dbscan( 
  ${promql}, 
  ${tolerance}, 
  1, 1 
)
1 ${promql}: PromQL query to evaluate
2 ${tolerance}: The sensitivity of DBSCAN; value range between 0.33 and 5.0, inclusive. A lower value is more sensitive to deviations.

For the operator reference — syntax, parameters, and a validated example — see dbscan in the PromQL documentation.

Limitations

Next steps

For an in-depth discussion of the DBSCAN algorithm, see these external resources: