mdsol / mauth-client-ruby

Mauth client in Ruby
MIT License
4 stars 0 forks source link

[MCC-781114] use Faraday HTTP Cache to honor server cache control headers #50

Closed mjobin-mdsol closed 3 years ago

mjobin-mdsol commented 3 years ago

instead of legacy 60s expiry.

mjobin-mdsol commented 3 years ago

deployed to subjects-sandbox @11:16 deployment completed

image
_index=_trace_spans service=mauth/sandbox/app kind="server"
| json field=tags "['mdsol.mauth.uuid']" as remote_uuid 
//| where remote_uuid = "1ebab21a-4b86-11e1-bcfe-123138140309" checkmate sandbox
//| where remote_uuid = "66de0549-f7ea-4f17-9984-10643f3357d1" dalton sandbox
| json field=tags "['http.target']" as url 
| replace (url, /\/mauth\/v1\/security_tokens\//, "") as url
| replace (url, /\.json/, "") as asked_uuid
|lookup mauth_app_name as calling_application from path://"/Library/Users/sleeloy@mdsol.com/mauthapps" on mauth_app_uuid=remote_uuid
|lookup mauth_app_name as asked_application from path://"/Library/Users/sleeloy@mdsol.com/mauthapps" on mauth_app_uuid=asked_uuid
| where calling_application = "subjects-sandbox.imedidata.net"
//| where calling_application="Coder VPC Sandbox"
| timeslice 5m
| count by remote_uuid,calling_application, _timeslice // asked_uuid, asked_application, _timeslice
| order by _timeslice
mjobin-mdsol commented 3 years ago

New screenshot

image