GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
191 stars 89 forks source link

[E2E refactor - 6] refactor collector e2e test #750

Closed pintohutch closed 7 months ago

pintohutch commented 8 months ago

I decided to break out the kind E2E test refactor PR https://github.com/GoogleCloudPlatform/prometheus-engine/pull/738 into smaller, digestible PRs for reviewing.

Note: because of the nature of the change, presubmits (i.e. Github Actions) may fail until the final PR is merged.

This is the sixth one, where we refactor and simplify collector e2e tests.

I've also added the ability to TLSInsecureScrapeVerify for kubelet scraping (though this will soon be legacy anyways).