Skip to content

Allow source_ip as a parameter#1099

Open
NPellet wants to merge 4 commits into
prometheus:masterfrom
NPellet:source_ip_as_param
Open

Allow source_ip as a parameter#1099
NPellet wants to merge 4 commits into
prometheus:masterfrom
NPellet:source_ip_as_param

Conversation

@NPellet
Copy link
Copy Markdown

@NPellet NPellet commented Jul 18, 2023

In our use cases, we have machines that have potentially hundreds of virtual interfaces, sitting in different networks
We'd like to set the source IP as a parameter instead of having to create ICMP and TCP probers for each interface we have.

Signed-off-by: Norman Pellet <nop@open.ch>
@NPellet NPellet force-pushed the source_ip_as_param branch from 05332b9 to c254f21 Compare July 18, 2023 09:47
@NPellet
Copy link
Copy Markdown
Author

NPellet commented Jul 18, 2023

I guess concerns are similar as in #1098, in the sense that this could enable probing a private network via proxy (which is exactly what we want in this case), so I would suggest also a config flag to allow this. We don't mind the security issues because the BBE is targeted by a local prometheus instance and is not available from the outside.

What is the fate of #1098 ? I'm not per say extremely interested in dynamic probes (though it's really cool), as most of my config is still static, and AFAIU the dynamic probing doesn't combine config file with http parameters

@NPellet NPellet force-pushed the source_ip_as_param branch 2 times, most recently from 818cd80 to de20d4c Compare July 18, 2023 10:44
Norman Pellet added 3 commits July 18, 2023 17:17
Signed-off-by: Norman Pellet <nop@open.ch>
Signed-off-by: Norman Pellet <nop@open.ch>
…if you're Google)

Signed-off-by: Norman Pellet <nop@open.ch>
@NPellet NPellet force-pushed the source_ip_as_param branch from 374cd56 to e1277da Compare July 18, 2023 15:17
@github-actions github-actions Bot added the stale label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant