Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hello guys,
Thanks for the great work you’ve been doing on Cloudprober!

I’ve recently started implementing some HTTP probes, and for my use case I need to include a randomly generated header for each request. Ideally, something like:

header {
  key: "random_header"
  value: "00-[RANDOM_NUMBER]-01"
}

I haven’t been able to find a way to do this. I assume an external probe could solve it, but I’d prefer to avoid that since I rely on Cloudprober’s built-in HTTP functionality, including the latency breakdown. Using an external probe would mean re-implementing all of that logic myself.

Is there any supported way to generate dynamic or random header values within the built-in HTTP probe? Or any recommended workaround?

Thanks!

You must be logged in to vote

Is there any supported way to generate dynamic or random header values within the built-in HTTP probe? Or any recommended workaround?

Unfortunately there is no such way and I can't think of a workaround either.

Replies: 1 comment · 1 reply

Comment options

Is there any supported way to generate dynamic or random header values within the built-in HTTP probe? Or any recommended workaround?

Unfortunately there is no such way and I can't think of a workaround either.

You must be logged in to vote
1 reply
@winter2t
Comment options

Got it, thanks for confirming. I suspected that might be the case but wanted to be sure I wasn’t missing anything.
Thanks for the reply and clarification.

Answer selected by winter2t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.