knative / knative/eventing

Add metrics for OIDC

Open
#7,877 1 comment 0 reactions 1 assignee Claimed by @Leo6Leo View on GitHub
help wanted triage/accepted
Dominant language
Go
Stars
1.6k
Forks
631
Avg merge
2d 1h
Merged PRs (30d)
6

Description

As the [Eventing OIDC feature track](https://docs.google.com/document/d/1e7UgNTkL0Br5Da09Rg2ieVmhKJo4VXuBj-mHT9NCujY/edit#heading=h.1cku2ruvccww) describes, cluster administrators and developers should be able to see the following metrics for a particular resource:
* Number of unauthenticated requests (these requests will get a 401 status code)
* Number of requests with an invalid token (these requests will get a 401 status code)

In addition, event senders (Triggers, Subscriptions, Sources) should record the following metrics:
* Whether or not the event was delivered with an identity
* How often an identity was fetched (vs used from a cache) and any errors fetching tokens

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.