Skip to content

Scrape basic metrics from a VM and containers running in it for monitoring

Notifications You must be signed in to change notification settings

LuxorLabs/vmc-monitor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vmc-monitor

Scrape basic metrics from a VM and containers running in it for monitoring

Update the following if you are using VictoriaMetrics

docker-compose.yaml

      - '--remoteWrite.url="<DEFINE_ME>"'
      - '--remoteWrite.basicAuth.password="<DEFINE_ME>"'
      - '--remoteWrite.basicAuth.username="<DEFINE_ME>"'
      - '--remoteWrite.headers=X-Scope-OrgID:<DEFINE_ME>' # use for Grafana Mimir

Additionally, pay attention to your volume mount to ensure disk space is available.

vmagent.yaml

  external_labels: # add labels e.g.
    machine_origin: my-machine
    foo: bar

promtail-config.yaml

clients:
  - url: http://<CHANGE_ME>/loki/api/v1/push
    tenant_id: 1 # change me
    external_labels:
      foo: bar
    basic_auth:
      # The username to use for basic auth
      username: "CHANGE_ME"
      password: "CHANGE_ME"

About

Scrape basic metrics from a VM and containers running in it for monitoring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published