Metrics APB

Docker Stars Docker pulls License

Testing

If you're adding a new changes want to can easily test your changes by simply running apb test The test does the following:

  1. Builds the APB
  2. Creates the project in currently targetted OpenShift instance
  3. Runs the provision role
  4. Runs the test role which checks that
    • Grafana and Prometheus routes are accessible
    • we're getting successful response from OpenShift auth proxy server

If the test ends successfully, you should see the message Pod phase Succeeded without returning test results in your console output.

How auto-discovery of services work

See the inline comments here and the example config from Prometheus here.