Usage traffic now knows which consumer sent it
The usage index can now attribute live traffic to the consumers in your registry, without ever storing the headers, keys or claims it recognises them by.
- Bindings. On a project's Consumers, open Bindings and traffic and bind a header, an API key, a JWT claim or a user-agent pattern to a consumer. A value is hashed before it is stored and is never shown again, not even as a hash.
- Nothing is dropped. A call no binding recognises is counted under the reserved consumer anonymous. Deleting a binding stops it matching from the next batch, and what it already attributed stays attributed.
- Declared vs observed. For each consumer, see the operations it declares and calls, the ones it declares but never calls, and the ones it calls without declaring. “Add to contract” stores the next contract revision with that operation added.
- REST.
GET|POST …/consumers/{c}/bindings,DELETE …/bindings/{id}andGET …/consumers/{c}/runtime, under the existingconsumer_contractspermissions. Each consumer list row carries its counts inruntime.
