Skip to content

Instantly share code, notes, and snippets.

denisgolius / vmctl.rb
Created May 16, 2023 15:58
brew vmctl.rb
time brew test -d --verbose vmctl
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/bin/bundle clean
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vmctl.rb
/usr/bin/env /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/git --version
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/go.rb
==> Testing vmctl
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vmctl.rb
/usr/bin/env /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/git --version
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Li
denisgolius /
Created May 15, 2023 17:08 — forked from jasonrudolph/
5 entertaining things you can find with the GitHub Search API
denisgolius / vmagen.serice
Created February 23, 2023 10:59
vmagent systemd
ExecStart=/usr/bin/vmagent-prod -promscrape.config=/etc/victoriametrics/vmagent/prometheus.yml \
-remoteWrite.url=http://vmsingle:8428/api/v1/write \
-loggerOutput=stdout \
denisgolius /
Created January 30, 2023 16:54 — forked from f41gh7/
multi level vmcluster with helm chart

Mutli level cluster setup


Lets say we have 2 zones: zone-a and zone-b. Separate cluster must be deploy to the both zones with commands:

helm upgrade -i zone-a vm/victoria-metrics-cluster -f zone.yaml
denisgolius /
Last active October 14, 2022 09:11
install script for victoriametrics on centos/rockylinux/fedora/redhat/almalinux/amazon linux
# how to install victoriametrics on centos/rockylinux/fedora/redhat/almalinux/amazon linux
# VictoriaMetrics Single node
yum upgrade -y && yum install -y curl wget jq mc
# Generate files
mkdir -p /etc/victoriametrics/single
mkdir -p /var/lib/victoria-metrics-data
denisgolius / local-path-storage.yml
Created September 28, 2022 19:49
apiVersion: v1
kind: Namespace
name: local-path-storage
apiVersion: v1
kind: ServiceAccount
name: local-path-provisioner-service-account
denisgolius /
Created February 11, 2022 07:57 — forked from joelonsql/
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

denisgolius /
Last active June 4, 2024 12:33
install VicotriaMetrics Single on ubuntu 20.04
set -e
system_set_hostname "$HOSTNAME"
apt update && apt upgrade -y && apt install -y curl wget net-tools traceroute jq
# Generate files
mkdir -p /etc/victoriametrics/single
mkdir -p /var/lib/victoria-metrics-data
user nginx;
worker_processes auto;
worker_rlimit_nofile 10000;
pid /var/run/;
events {
worker_connections 4000;
multi_accept on;
use epoll;
denisgolius / gist:1bb389bf95547f2b7912444a557b9b23
Created September 14, 2021 10:10
run grafana from docker-compose
version: '3.9'
container_name: grafana
image: grafana/grafana:8.1.2
- 3000:3000
- grafanadata:/var/lib/grafana
restart: always