open-nomad/e2e/metrics
Tim Gross 4c4895e19c
e2e: configure prometheus for mTLS for `Metrics` suite (#12181)
The `Metrics` suite uses prometheus to scrape Nomad metrics so that
we're testing the full user experience of extracting metrics from
Nomad. With the addition of mTLS, we need to make sure prometheus also
has mTLS configuration because the metrics endpoint is protected.

Update the Nomad client configuration and prometheus job to bind-mount
the client's certs into the task so that the job can use these certs
to scrape the server. This is a temporary solution that gets the job
passing; we should give the job its own certificates (issued by
Vault?) when we've done some of the infrastructure rework we'd like.
2022-03-04 08:55:06 -05:00
..
input e2e: configure prometheus for mTLS for `Metrics` suite (#12181) 2022-03-04 08:55:06 -05:00
metrics.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
prometheus.go e2e: fix failure in running metrics test suite jobs. 2020-09-09 08:40:35 +02:00