* Display a warning log message if the validation response fails with a valid reason
* provide a reason and description for failed validation
* added unknown to description
* Allow a successful response to carry a message
* tidy up
* formatting
* Simplified the message response
* updated based on latest comments
* no need to export struct
* suggested method rename
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
* add new log context middleware to store log entries in the context
* replace LogEntryMiddleware and add NoOpLogger
* fix failing test
* move middleware to top level
* actually move middleware to top level
* Initial chanages for observability
* Fix some panics to start testing
* Export tracing properly
* First example of child spans using opencensus
* Add spans to download protocol
* Add url to traces
* Remove opentracing
* Remove gopkg.* files
* Start deprecating opentracing
* Resolve stupid build errors
* Use observability package
* Fix test errors
* Convert buffalo spans to observercontext
* change package name
* defer flush to the end of the app execution
* Change op names to the correct package
* Rename pkg/observability to pkg/observ
* Show traces for the package
* Keep tracing in the earlier way
* Add info from request headers
* Remove whitespace
* Move exporter url to env var
* Add to env file for documentation
* Remove opentracing stuff
* Use stdlib
* Shorten service name
* Add a service name to olympus as well
* Add test to test if there is a recursion or not
* Add Ops Suite
* Move around code
* Make sure the service is not instantiated if the exporter is not found
* The proxy middleware calls an hook if set to check if the module needs
to be filtered
* Fixed error handling
* Added a middleware func that passes the log entry down to other
middlewares
* Split the filter middleware in two
* Moved validation middleware in its own file
* Renamed filter to middleware, all the middleware stuff in a single file
* Moved default hook to empty string
* Split tests of filter middleware from validation middleware
* Installed the validation middleware only if the hook is set
* Moved filter test to middleware test
* Fixed gofmt issue caused by manual merge
* Fixed wrong logrus import
* Removed logger from filter middleware
* Moved middleware functions to own package
* Removed unused argument, fixed errors
* Fixed gofmt errors
* Made middleware func private
* Changed debuglevel from string to enum
* Added comments to now public functions
* Changed module alias to a shorter one
* Removed white space
* Split middleware in separate files, injected the hook as param
* Removed commented code