Comments (4)
tldr; setup vmagent and write the result to cluster https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmagent and https://github.com/VictoriaMetrics/helm-charts/tree/master/charts/victoria-metrics-agent
Hello, you can do it with cluster, let me a bit describe the ecosystem
Single version is like a swiss knife, can scrape and store inside itself. But when you have a load or need some distribution you want to split the components. For that we have:
- vm-cluster - distributed metric storage
- vmagent - scraper
- vmalert - which evaluates the rules (alerting and recording)
so the full setup of the solution is
Vmagent scrape the tagres in prometheus format and write the metrics into the cluster, vmalert evaluates the rules by reading them from cluster and sends the alerts to alertmanager (or evalutes the recording rules and stores back to the cluster).
Helm charts give you an option to setup each component
from helm-charts.
Thanks for such a quick response!
If I understood it correctly, to be able to scrape targets (another vm instance for example) with VM-Cluster I would need to deploy vmagent and do remote write to VM-cluster?
If thats true and I wanted to do it with minimal dependencies, then I should use the single version VM which can scrape other targets without vmagent? if thats also true then deploying single vm with helm charts I can specify the -promscrape.config with the extraArgs in the values.yaml?
Thanks!
from helm-charts.
If thats true and I wanted to do it with minimal dependencies, then I should use the single version VM which can scrape other targets without vmagent? if thats also true then deploying single vm with helm charts I can specify the -promscrape.config with the extraArgs in the values.yaml?
Yep, single version of vm can scrape targets with promscrape.config arg. You have to mount config somehow, unfortunately chart doesnt support it. Probably operator version is more flexible in this case https://github.com/VictoriaMetrics/operator/blob/master/docs/api.MD#vmsinglespec
from helm-charts.
At master branch you can specify additional mounts with extraVolumes and extraVolumeMounts. It should be enough to add scrape config into victoria-metrics-single chart.
from helm-charts.
Related Issues (20)
- Publish helm charts also as an OCI package (e.g. on GHCR registry)
- victoria-metrics-k8s-stack - VMServiceScripe for the operator is created twice HOT 2
- vmsingle is deployed eventhough is set to false HOT 3
- Can't install victoria-metrics-k8s-stack using Terraform helm provider HOT 2
- Issue with default k8s VMRules. HOT 5
- Expose streaming aggregation config in vmagent chart HOT 3
- Labels should be truncated HOT 2
- Helm Charts: missing Ingress Definition for TLS
- Cannot support existingClaim and different pvc for different vmstorage pods at the same time HOT 12
- Add a `vmstorage.vmbackup.enabled` value to the `victoria-metrics-cluster` chart HOT 1
- Added values file option for -remoteWrite.relabelConfig & -remoteWrite.urlRelabelConfig HOT 3
- Allow setting `metricRelabelings` on ServiceMonitors
- Support options for vmagent to scrape targets via a proxy HOT 2
- Duplicated VictoriaMetrics datasource HOT 1
- [k8s-stack/kube-etcd] Cannot specify mTLS auth configuration HOT 2
- Custom container port name is not supported. HOT 2
- Outdated CRD on victoria-metrics-k8s-stack chart HOT 2
- config-reloader liveness checks failing in victoria-metrics-k8s-stack 0.21.0 HOT 3
- Typo in Role template for Victoria-metrics-operator HOT 1
- Setting Alertmanager's config-reloader container resources in victoria-metrics-k8s-stack values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.