Closed jihuin closed 4 years ago
/assign @trshafer @anniefu @garron
The following is the coverage report on the affected files.
Say /test pull-knative-serving-operator-go-coverage
to re-run this coverage report
File | Old Coverage | New Coverage | Delta |
---|---|---|---|
pkg/reconciler/reconciler.go | 100.0% | 94.4% | -5.6 |
pkg/reconciler/stats_reporter.go | Do not exist | 75.0% |
Could you test with stackdriver by setting these in config-observability?
metrics.backend-destination: stackdriver
metrics.request-metrics-backend-destination: stackdriver
metrics.allow-stackdriver-custom-metrics: "true"
Otherwise, /lgtm
@anniefu Tested with prometheus and stackdriver, and both worked as expected.
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jihuin, trshafer
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Proposed Changes
Serving operator can emit metrics on KnativeServing CR edits, including creation, modification and deletion.
Steps to test metrics with Prometheus exporter (default):
kubectl port-forward ${{operator_pod_name}} 9090
localhost:9090/metrics
Release Note