• Kubernetes Submit Queue's avatar
    Merge pull request #52237 from smarterclayton/watch_metric · 93ddb7be
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 51824, 50476, 52451, 52009, 52237)
    
    Improve apiserver metrics reporting
    
    Normalize "WATCHLIST" to "WATCH", add "scope" to the other metrics (listing 50k pods is != listing pods in a namespace), and add a new scope "resource" to cover individual resource calls.
    
    This roughly aligns metrics with our ACL model (technically resource scope is GET, but POST to a subresource and POST to a namespace are not the same thing).
    
    ```release-note
    WATCHLIST calls are now reported as WATCH verbs in prometheus for the apiserver_request_* series.  A new "scope" label is added to all apiserver_request_* values that is either 'cluster', 'resource', or 'namespace' depending on which level the query is performed at.
    ```
    93ddb7be
Name
Last commit
Last update
..
src/k8s.io Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
godeps-json-updater.go Loading commit data...
prime-apimachinery.sh Loading commit data...