tfy-victoria-metrics-config

by TrueFoundry

Helm chartv0.1.4Verified publisher

A Helm chart for Victoria Metrics Config

About this chart

Victoria Metrics Config

This chart is used to configure the scrape configs, alert managers, rules, and service scrape monitors for victoria metrics.

Parameters

global Global settings

NameDescriptionValue
global.labels{}
global.annotations{}
global.tenantNameTenant name for the control plane""

controlPlaneMonitors service scrapes for control plane components

NameDescriptionValue
controlPlaneMonitors.enabledEnable service scrapes for control plane componentsfalse
controlPlaneMonitors.releaseNamespaceRelease namespace for the control planetruefoundry
controlPlaneMonitors.namespaceSelectorNamespace selector for the control plane monitors{}
controlPlaneMonitors.serviceSelectorLabelService selector label for the control plane monitorsapp.kubernetes.io/name
controlPlaneMonitors.alerts.enabledEnable alerts for control planefalse
controlPlaneMonitors.alerts.alertRules.labelsLabels for control plane alert rules{}
controlPlaneMonitors.alerts.alertRules.annotationsAnnotations for control plane alert rules{}
controlPlaneMonitors.alerts.alertRules.enabledEnable alert rules for control planetrue
controlPlaneMonitors.alerts.alertRules.nameName of the alert rulestfy-control-plane-alerting-rules
controlPlaneMonitors.alerts.alertManager.enabledEnable alert manager for control planetrue
controlPlaneMonitors.alerts.alertManager.labelsLabels for control plane alert manager{}
controlPlaneMonitors.alerts.alertManager.annotationsAnnotations for control plane alert manager{}
controlPlaneMonitors.alerts.alertManager.nameName of the alert managertfy-control-plane-alert-manager
controlPlaneMonitors.alerts.alertManager.secret.createCreate a secret for the alert managerfalse
controlPlaneMonitors.alerts.alertManager.secret.nameName of the secret for the alert managertfy-control-plane-alert-manager-secret
controlPlaneMonitors.alerts.alertManager.secret.dataData for the secret for the alert manager{}
controlPlaneMonitors.alerts.alertManager.routeRoute for the alert manager{}
controlPlaneMonitors.alerts.alertManager.receiversReceivers for the alert manager[]
controlPlaneMonitors.servicefoundryServer.enabledEnable service scrape for servicefoundry servertrue
controlPlaneMonitors.servicefoundryServer.nameName of the service scrapeservicefoundry-server
controlPlaneMonitors.servicefoundryServer.labelsLabels for servicefoundry server{}
controlPlaneMonitors.servicefoundryServer.annotationsAnnotations for servicefoundry server{}
controlPlaneMonitors.servicefoundryServer.endpointsEndpoints for servicefoundry server[]
controlPlaneMonitors.servicefoundryServer.serviceSelectorLabelsService selector labels for servicefoundry server{}
controlPlaneMonitors.servicefoundryServer.namespaceSelectorNamespace selector for servicefoundry server{}
controlPlaneMonitors.mlfoundryServer.enabledEnable service scrape for mlfoundry servertrue
controlPlaneMonitors.mlfoundryServer.nameName of the service scrapemlfoundry-server
controlPlaneMonitors.mlfoundryServer.labelsLabels for mlfoundry server{}
controlPlaneMonitors.mlfoundryServer.annotationsAnnotations for mlfoundry server{}
controlPlaneMonitors.mlfoundryServer.endpointsEndpoints for mlfoundry server[]
controlPlaneMonitors.mlfoundryServer.serviceSelectorLabelsService selector labels for mlfoundry server{}
controlPlaneMonitors.mlfoundryServer.namespaceSelectorNamespace selector for mlfoundry server{}
controlPlaneMonitors.sfyManifestService.enabledEnable service scrape for sfy manifest servicetrue
controlPlaneMonitors.sfyManifestService.nameName of the service scrapesfy-manifest-service
controlPlaneMonitors.sfyManifestService.labelsLabels for sfy manifest service{}
controlPlaneMonitors.sfyManifestService.annotationsAnnotations for sfy manifest service{}
controlPlaneMonitors.sfyManifestService.endpointsEndpoints for sfy manifest service[]
controlPlaneMonitors.sfyManifestService.serviceSelectorLabelsService selector labels for sfy manifest service{}
controlPlaneMonitors.sfyManifestService.namespaceSelectorNamespace selector for sfy manifest service{}
controlPlaneMonitors.tfyController.enabledEnable service scrape for tfy-controllertrue
controlPlaneMonitors.tfyController.nameName of the service scrapetfy-controller
controlPlaneMonitors.tfyController.labelsLabels for tfy-controller{}
controlPlaneMonitors.tfyController.annotationsAnnotations for tfy-controller{}
controlPlaneMonitors.tfyController.endpointsEndpoints for tfy-controller[]
controlPlaneMonitors.tfyController.serviceSelectorLabelsService selector labels for tfy-controller{}
controlPlaneMonitors.tfyController.namespaceSelectorNamespace selector for tfy-controller{}
controlPlaneMonitors.tfyK8sController.enabledEnable service scrape for tfy-k8s-controllertrue
controlPlaneMonitors.tfyK8sController.nameName of the service scrapetfy-k8s-controller
controlPlaneMonitors.tfyK8sController.labelsLabels for tfy-k8s-controller{}
controlPlaneMonitors.tfyK8sController.annotationsAnnotations for tfy-k8s-controller{}
controlPlaneMonitors.tfyK8sController.jobLabelJob label for tfy-k8s-controllerapp.kubernetes.io/name
controlPlaneMonitors.tfyK8sController.endpointsEndpoints for tfy-k8s-controller[]
controlPlaneMonitors.tfyK8sController.serviceSelectorLabelsService selector labels for tfy-k8s-controller{}
controlPlaneMonitors.tfyK8sController.namespaceSelectorNamespace selector for tfy-k8s-controller{}
controlPlaneMonitors.tfyOtelCollector.enabledEnable service scrape for tfy-otel-collectortrue
controlPlaneMonitors.tfyOtelCollector.nameName of the service scrapetfy-otel-collector
controlPlaneMonitors.tfyOtelCollector.labelsLabels for otel collector{}
controlPlaneMonitors.tfyOtelCollector.annotationsAnnotations for otel collector{}
controlPlaneMonitors.tfyOtelCollector.endpointsEndpoints for otel collector[]
controlPlaneMonitors.tfyOtelCollector.namespaceSelectorNamespace selector for otel collector{}
controlPlaneMonitors.tfyOtelCollector.serviceSelectorLabelsService selector labels for otel collector{}
controlPlaneMonitors.deltafusionIngestor.enabledEnable service monitor for deltafusion ingestortrue
controlPlaneMonitors.deltafusionIngestor.nameName of the service monitordeltafusion-ingestor
controlPlaneMonitors.deltafusionIngestor.labelsLabels for deltafusion ingestor{}
controlPlaneMonitors.deltafusionIngestor.annotationsAnnotations for deltafusion ingestor{}
controlPlaneMonitors.deltafusionIngestor.endpointsEndpoints for deltafusion ingestor[]
controlPlaneMonitors.deltafusionIngestor.serviceSelectorLabelsService selector labels for deltafusion ingestor service{}
controlPlaneMonitors.deltafusionIngestor.namespaceSelectorNamespace selector for deltafusion ingestor service{}
controlPlaneMonitors.deltafusionQueryServer.enabledEnable service monitor for deltafusion query servertrue
controlPlaneMonitors.deltafusionQueryServer.nameName of the service monitordeltafusion-query-server
controlPlaneMonitors.deltafusionQueryServer.labelsLabels for deltafusion query server{}
controlPlaneMonitors.deltafusionQueryServer.annotationsAnnotations for deltafusion query server{}
controlPlaneMonitors.deltafusionQueryServer.endpointsEndpoints for deltafusion query server[]
`controlPlaneMonitors.deltafusionQu

Deploy tfy-victoria-metrics-config with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tfy-victoria-metrics-config on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttfy-victoria-metrics-config is pinned at v0.1.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply