GoogleCloudPlatform / prometheus-test-infra

Apache License 2.0
11 stars 3 forks source link

Use JSON logger for the Prometheus images #11

Closed maxamins closed 1 year ago

maxamins commented 1 year ago

GKE is showing all logs as errors. This is by design in https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#best_practices.

Using the JSON logger fixes this issues and allows log level to appear correctly.

Added JSON log format to Prometheus-PR, Prometheus-Release and Prometheus-Meta.

bwplotka commented 1 year ago

Nice, can we do it to our main operator too?