Skip to content

Conversation

@bundasmanu
Copy link

@bundasmanu bundasmanu commented Nov 28, 2025

Protocol omission on scrapeUri its only available when using /probe endpoint via target query.
But, when using /metrics directly we need to pass the protocol.
So, in this PR, i propose to keep the logic uniform between the two endpoints, where by default, when protocol its not provided, tcp:// will be added.

Tested by passing and not passing protocol on both /metrics and /probe and seems ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant