VictoriaMetrics


Error

You must log in or register to view this page

Software pattern summary

The following table gives an overview of the pattern characteristics:

Product componentOS typeVersioningPattern depth
VictoriaMetricsUNIXActiveInstance-based
VictoriaMetrics vmstorageUNIXActiveInstance-based
VictoriaMetrics vminsertUNIXActiveInstance-based
VictoriaMetrics vmselectUNIXActiveInstance-based
VictoriaMetrics ClusterUNIXFrom SIInstance-based

Platforms supported by the pattern

The pattern discovers VictoriaMetrics deployments on the UNIX system only.

Software instance triggers

The following table gives details about the pattern trigger:

PatternTrigger nodeAttributeConditionArgument
VictoriaMetricsSingleNodeDiscoveredProcesscmdmatchesunix_cmd "victoria-metrics-prod"
VMStorageDiscoveredProcesscmdmatchesunix_cmd "vmstorage-prod"
VMInsertDiscoveredProcesscmdmatchesunix_cmd "vminsert-prod"
VMSelectDiscoveredProcesscmdmatchesunix_cmd "vmselect-prod"
VictoriaMetricsClusterSoftwareInstanceNAcreated, confirmedtype = "VictoriaMetrics vminsert"

Software instance type attributes

The pattern in this module sets the following attributes:

Product componentAttributes
VictoriaMetrics
  • key  = "<si_type>/<host.key>"
  • type = "VictoriaMetrics"
  • name 
  • short_name 
  • version
  • product_version
  • install_root
VictoriaMetrics vmstorage
  • key  = "<si_type>/<host.key>"
  • type = "VictoriaMetrics vmstorage"
  • name 
  • short_name 
  • version
  • product_version
  • install_root
  • data_path
VictoriaMetrics vminsert
  • key  = "<si_type>/<host.key>"
  • type = "VictoriaMetrics vminsert"
  • name 
  • short_name 
  • version
  • product_version
  • install_root
  • storage_node_list
  • running_on_k8s
VictoriaMetrics vmselect
  • key  = "<si_type>/<host.key>"
  • type = "VictoriaMetrics vminsert"
  • name 
  • short_name 
  • version
  • product_version
  • install_root
  • storage_node_list
VictoriaMetrics Cluster
  • key  = "<si_type>/<host.key>",
  • type = "VictoriaMetrics Cluster"
  • name 
  • short_name 
  • version
  • product_version

Simple identification mappings

The following components are identified by using the simple identity mappings that map the product's known processes:

NameCommand
VictoriaMetricsunix_cmd "victoria-metrics-prod"
VictoriaMetrics vmstorageunix_cmd "vmstorage-prod" 
VictoriaMetrics vminsertunix_cmd "vminsert-prod" 
VictoriaMetrics vmselectunix_cmd "vmselect-prod"

Versioning

Version information for each SoftwareInstance is collected by using the active versioning method. The pattern runs the following command:

  • '<process_cmd_path>' --version

If the command retrieves results, the version is parsed by using the following regular expressions:

  • '(?m)victoria-metrics\S+v(\d+(?:\.\d+)*)'
  • '(?m)vmstorage-\S+v(\d+(?:\.\d+)*)'
  • '(\/\S+)\/vminsert-prod'
  • '(\/\S+)\/vmselect-prod'

SI depth

The VictoriaMetrics patterns create an instance-based software instance for each VictoriaMetrics component and a standalone VictoriaMetrics installation. The second-order SoftwareInstance is modelled, representing VictoriaMetrics Cluster and containing VictoriaMetrics vmstorage, VictoriaMetrics vminsert and VictoriaMetrics vmselect SIs. 

Testing

The pattern has been tested against the available customer data and the local test installation.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Discovery content reference