metal-api icon indicating copy to clipboard operation
metal-api copied to clipboard

Central logging of all API calls

Open majst01 opened this issue 5 years ago • 1 comments

To be able to see what happened on every entity by whom we must log every api call.

This can be done with a filter on the api endpoint, examples can be seen here:

https://github.com/emicklei/go-restful/blob/master/examples/restful-filters.go

question arises if we should do that per webservice e.g. /machine and /network to be able to decode the payloads more easily, or once from / and have more work to do to decode the payload.

majst01 avatar Mar 13 '20 08:03 majst01

duplicate of #64

majst01 avatar Jul 16 '20 13:07 majst01

done with https://github.com/metal-stack/metal-api/pull/372

majst01 avatar Aug 26 '23 20:08 majst01