This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"os" | |
"path/filepath" | |
"time" | |
"github.com/dustin/go-humanize" | |
"github.com/go-faster/errors" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command: /src/faster/oteldb/internal/ytlocal/.venv/bin/yt_local start --proxy-port 8080 --master-config /tmp/ytlocal-python-3075677362/resolver.yson --node-config /tmp/ytlocal-python-3075677362/resolver.yson --scheduler-config /tmp/ytlocal-python-3075677362/resolver.yson --controller-agent-config /tmp/ytlocal-python-3075677362/resolver.yson --rpc-proxy-config /tmp/ytlocal-python-3075677362/resolver.yson --local-cypress-dir /tmp/ytlocal-python-3075677362/resolver.yson --fqdn localhost --ytserver-all-path /usr/local/bin/ytserver-all --sync | |
2023-07-24 12:12:27,758 INFO Start preparing cluster instance as follows: | |
2023-07-24 12:12:27,758 INFO masters 1 (0 nonvoting) (version: 23.2.0-local-os~16ff06a256729d98+distbuild) | |
2023-07-24 12:12:27,758 INFO nodes 1 (0 chaos) (version: 23.2.0-local-os~16ff06a256729d98+distbuild) | |
2023-07-24 12:12:27,758 INFO schedulers 1 (version: 23.2.0-local-os~16ff06a256729d98+distbuild) | |
2023-07-24 12:12:27,758 INFO controlle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"level":"info","ts":1679740371.865786,"logger":"client.conn.mtproto.rpc","caller":"rpc/engine.go:42","msg":"Initialized","v":"v0.79.0","conn_id":0,"dc_id":2,"retry_interval":5,"max_retries":5} | |
{"level":"info","ts":1679740371.8658545,"logger":"client","caller":"telegram/connect.go:114","msg":"Starting","v":"v0.79.0"} | |
{"level":"debug","ts":1679740371.865991,"logger":"client.conn.mtproto","caller":"mtproto/conn.go:198","msg":"Run: start","v":"v0.79.0","conn_id":0,"dc_id":2} | |
{"level":"info","ts":1679740371.9107969,"logger":"client.conn.mtproto","caller":"mtproto/connect.go:32","msg":"Generating new auth key","v":"v0.79.0","conn_id":0,"dc_id":2} | |
{"level":"debug","ts":1679740371.9108443,"logger":"client.conn.mtproto","caller":"mtproto/connect.go:65","msg":"Initializing new key exchange","v":"v0.79.0","conn_id":0,"dc_id":2,"timeout":60,"context_deadline":1679740406.8660336} | |
{"level":"debug","ts":1679740371.9108987,"logger":"client.conn.mtproto.exchange","caller":"exchange/client_flow.go:26","msg":"Sending ReqPqMult |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION=$1 | |
grep -rl cilium/tetragon --exclude-dir=vendor --exclude-dir=.git --exclude vendor.sh | xargs sed -i 's|cilium/tetragon|go-faster/tetragon|g' | |
sed -i 's|quay.io|ghcr.io|g' install/kubernetes/values.yaml | |
sed -i 's|-t "go-faster|-t "ghcr.io/go-faster|g' Makefile | |
sed -i 's|push go-faster|push ghcr.io/go-faster|g' Makefile | |
grep -rl v0.0.0-00010101000000-000000000000 --exclude-dir=vendor --exclude-dir=.git --exclude vendor.sh | xargs sed -i "s|v0.0.0-00010101000000-000000000000|$1|g" | |
sed -i "s|0.8.3|${VERSION:1}|g" install/kubernetes/Chart.yaml | |
sed -i "s|v0.8.3|$1|g" install/kubernetes/values.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Entry", | |
"title": "OpenTelemetry Log Data Model", | |
"description": "https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md", | |
"definitions": { | |
"Map": { | |
"patternProperties": { | |
".*": { | |
"$schema": "http://json-schema.org/draft-04/schema#", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"sort" | |
"strconv" | |
"strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Forward TCP 3389 on enp4s0 to 192.168.122.119 | |
iptables -A PREROUTING -t nat -i enp4s0 -p tcp --dport 3389 -j DNAT --to 192.168.122.119:3389 | |
iptables -I FORWARD 1 -d 192.168.122.119/32 -p tcp -m tcp --dport 3389 -j ACCEPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This will remove tags starting from "v0.15.1-" | |
git tag | grep '^v0.15.1-' > tags-to-remove.txt | |
cat tags-to-remove.txt | xargs git tag -d | |
cat tags-to-remove.txt | xargs -I% git push origin :refs/tags/% | |
rm tags-to-remove |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Creating goissue25009_server_1 ... | |
Creating goissue25009_server_1 ... done | |
Creating goissue25009_nginx_1 ... | |
Creating goissue25009_nginx_1 ... done | |
Creating goissue25009_client_1 ... | |
Creating goissue25009_client_1 ... done | |
2018/06/17 03:23:51 [info] 7#7: *12 client prematurely closed stream: only 0 out of 100 bytes of request body received, client: 172.20.0.4, server: nginx, request: "POST /2 HTTP/2.0", host: "nginx" | |
client to https://nginx | |
will do ~10 requests with 6 concurrency | |
using one client for all goroutines |
NewerOlder