Embed presentation
Download as PDF, PPTX



























![module RenderReplaceable
def _prefixes
request_version = request.path.match(//v[0-9]//).to_s
self.class._prefixes.map do |prefix|
prefix.sub(/^api/v[0-9]//, "api#{request_version}")
end
end
end](https://image.slidesharecdn.com/pepaboxspeee-170119035707/75/minne-API-28-2048.jpg)





The document describes analyzing log files using a Ruby gem called log-analyzer. It includes an example log analysis output table showing request counts, average response times, maximum response times and minimum response times for different HTTP methods and endpoints. It also discusses routing API versions by prefixing the controller namespace to match the request version in the URL.



























![module RenderReplaceable
def _prefixes
request_version = request.path.match(//v[0-9]//).to_s
self.class._prefixes.map do |prefix|
prefix.sub(/^api/v[0-9]//, "api#{request_version}")
end
end
end](https://image.slidesharecdn.com/pepaboxspeee-170119035707/75/minne-API-28-2048.jpg)



