PROMETHEUS

Icon

Icon 1 5 Troubleshooting Commands

Icon 2 Contributed by jon-funk

Icon 2 Codecollection: rw-cli-codecollection


This taskset investigates the logs, state and health of Kubernetes Prometheus operator.

Tasks:
  • Check Prometheus Service Monitors in namespace `NAMESPACE`
  • Check For Successful Rule Setup in Kubernetes Namespace `NAMESPACE`
  • Verify Prometheus RBAC Can Access ServiceMonitors in Namespace `PROM_NAMESPACE`
  • Inspect Prometheus Operator Logs for Scraping Errors in Namespace `NAMESPACE`
  • Check Prometheus API Healthy in Namespace `PROM_NAMESPACE`

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Run a PromQL query against Prometheus instant query API, perform a provided transform, and return the result.

Tasks:
  • Querying Prometheus Instance And Pushing Aggregated Data

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Run a PromQL query against Prometheus range query API, perform a provided transform, and return the result.

Tasks:
  • Querying Prometheus Instance And Pushing Aggregated Data

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Shea Stewart

Icon 2 Codecollection: rw-public-codecollection


Performs a metric query using a PromQL statement on the Ops Suite API and pushes the result as an SLI metric.

Tasks:
  • Run Prometheus Instant Query Against Google Prom API Endpoint