Commit Graph

2 Commits

Author SHA1 Message Date
Dave Protasowski 13b2dc9d2f
[observability] Default missing endpoint scheme to HTTPS (#3200)
* apply TrimSpace from config map values

* Convert opaque URLs to hiearchical ones.

When testing prometheus endpoints I entered
some.domain.com:9090/some/path

And this took `some.domain.com` as the scheme. To avoid this landmine
if we end up with an opaque URL we prepend the 'https' scheme to
the endpoint
2025-06-30 18:03:52 +00:00
Dave Protasowski 05e18ffb29
pull configmap parsing into separate package (#3185)
* pull config map parsing into separate package

We want to parse these configmaps but not don't want a heavy dependency on k/k libs

* fix linter warnings

* retain existing error message
2025-06-12 08:34:47 +00:00