Giter Club home page Giter Club logo

Comments (4)

jiangwenyuan avatar jiangwenyuan commented on May 19, 2024

No plans right now. I could look into it after several big features I'm working on. anyway PR is always welcomed:)

from nuster.

zabio3 avatar zabio3 commented on May 19, 2024

Thank you for your immediate reply !

I would like to send pr if possible.

from nuster.

igorescobar avatar igorescobar commented on May 19, 2024

@zabio3 What I'm going to "solve" this is by making the access log using a JSON format. Then, I'm using CloudWatch Insights to query and aggregate the data for me but it would work with any other service like Datadog, Logz or something like Kibana + Logstash.

On my case, I don't care much about the host itself but this can give me a good overview in a period of time how many requests went trough the cache:

Screenshot 2020-05-23 at 16 03 29

This is the query:

parse @message '"server":"*"' as server
  | parse @message '"uri":"*"' as path
  | parse @message '"status_code":*,' as status_code
  | filter path not like /health_check/
  | filter status_code = 200
  | stats count(*) as hits by server
  | sort by hits desc

Cheers!

from nuster.

zabio3 avatar zabio3 commented on May 19, 2024

Thank you for including the query. By using the access log that you have proposed and totaling it, you can see the statistical information for each path, so I would like to solve this issue itself.
Cheers!

from nuster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.