Skip to content

Instantly share code, notes, and snippets.

@seankhliao
seankhliao / README.md
Last active June 6, 2024 12:52
Vector pathological sketch

main.go

This is a simple application that serves the metrics* files in order. These were metrics we captured from keda-operator-metrics-apiserver in 10s intervals.

otelcol.yaml

This is the config for an instance of opentelemetry collector run with:

@seankhliao
seankhliao / patch.diff
Last active January 30, 2023 15:48
target allocator concurrent map read write
diff --git a/cmd/otel-allocator/config/config.go b/cmd/otel-allocator/config/config.go
index 7185b5c..4b5dd20 100644
--- a/cmd/otel-allocator/config/config.go
+++ b/cmd/otel-allocator/config/config.go
@@ -21,6 +21,7 @@ import (
"io/fs"
"os"
"path/filepath"
+ "regexp"
"time"