-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question regarding proxying vmauth/victoriametrics with TLS and basic auth #411
Comments
the target configuration is the same as in prometheus (https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config); so if you add |
TY, that makes a lot of sense. If you don't mind, I'll keep this open until I can successfully reach the Currently, after adding
But definitely making progress in the right direction. |
If I issue the following
I get the following JSON back:
Are you able to advise if I got the equivalent config correct in the promxy config, which as follows?
Trace output from
|
This depends entirely on your setup. Grafana is talking to promxy -- so credentials there are a question if you require auth on the promxy endpoint. If VM requires auth then you'd need to configure it on promxy (since promxy talks to the downstream VM). There is a request to have promxy propagate auth context (#322) -- so if that is desired feel free to subscribe to that case :) |
TY for the response @jacksontj . Much appreciated. Unfortunately still struggling a bit. With the following running on a single machine:
I can get
What is the minimal config that I would need to get it to talk to
|
I moved
Also since |
Please definitely label this as a question.
I'm in the initial stages of designing my monitoring setup. I'm planning to have 4 VMs:
Here's a logical diagram:
What would be a simple config in
promxy
which would allow TLS to vmauth/victoriametrics?Here is my
config.yaml
:And trace output shows:
How do I specify the targets so that scheme is
https
? Thanks in advance for any pointers.The text was updated successfully, but these errors were encountered: