Class: Kube::Cluster::Standard::VictoriaMetrics::VTCluster

Inherits:
Object
  • Object
show all
Defined in:
lib/kube/cluster/standard/victoria_metrics/vt_cluster.rb

Overview

HA/clustered VictoriaTraces: storage + select + insert components (the horizontally-scalable alternative to VTSingle). Retention lives on the storage component, so configure the components in the block.

Instance Method Summary collapse

Constructor Details

#initialize(name:, &block) ⇒ VTCluster

Returns a new instance of VTCluster.



14
15
16
17
18
19
# File 'lib/kube/cluster/standard/victoria_metrics/vt_cluster.rb', line 14

def initialize(name:, &block)
  super() {
    .name = name
    instance_exec(&block) if block
  }
end