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.
This is the config for an instance of opentelemetry collector run with:
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" |