GoogleCloudPlatform / prometheus-engine

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

Cleaned code for Option3 (consistent selector); added validation. #783

Closed bwplotka closed 9 months ago

bwplotka commented 9 months ago

Some decision rationales:

Verification

  1. Added time.Sleep in podmon success test case
  2. Run:GMP_CLUSTER=bwplotka-test NO_DOCKER=1 TEST_RUN=TestBasicAuth/full make e2e
  3. Checked PodMonitoring target status is OK

Config:

image

  1. Prometheus UI:

image

  1. Metric from secure endpoint visible

image

  1. Verified the endpoint is secure

image