usage:
- build shared lib:
go build -buildmode=c-shared -o library.so main.go - use it
python3 metricsql.py 'not_exist(up)'`
failed to parse expr: not_exist(up), error: unsupported function "not_exist"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.yamlopenssl req -x509 -sha256 -days 1825 -newkey rsa:2048 -keyout rootCA.key -out rootCA.crt -nodes
openssl req -newkey rsa:2048 -nodes -keyout vmstorage_0.key -out vmstorage_0.csr
| job "metrics" { | |
| datacenters = ["dc1"] | |
| group "prometheus" { | |
| network { | |
| mode = "bridge" | |
| } | |
| service { | |
| name = "prometheus" |
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
| location ~* /(.*\.pdf) { | |
| types { application/octet-stream .pdf; } | |
| default_type application/octet-stream; | |
| } |