Giter Club home page Giter Club logo

Comments (5)

piglei avatar piglei commented on July 20, 2024

Hi, The "details" field was supposed to contain all requests which were marked as "slow requests", by default, the threshould is 200 msecs, which means all requests which takes more than 200 msecs will be recorded and displayed in the "details" field.

Your issues:

  1. Maybe it's just because the endpoint "/apis/shops/get_aff_url/" 's respond time is too short for it to be recorded.
  2. This is abnormal, could you upload your log file so I can try reproduce this issue?

from uwsgi-sloth.

prafulbagai avatar prafulbagai commented on July 20, 2024

Here is the logfile:- uwsgi.log

Counting lines by pattern Fri Jul 12 (ie yesterday's date) in the log file:-

grep -w "Fri Jul 12" -c uwsgi.log # returns 2036

However in my Analytics dashboard, yesterday's count show 413 requests.

Let me know if you're able to reproduce the issue.

from uwsgi-sloth.

piglei avatar piglei commented on July 20, 2024

I checked your log file, found out that a majority of requests's status code is 404. Because Uwsgi-sloth was configured to count 200 requests only, the html report contains a smaller requests count.

from uwsgi-sloth.

prafulbagai avatar prafulbagai commented on July 20, 2024

Okay. I forked your amazing repo and set the setting to consider all HTTP status code. Thanks for your work.

However, is there any specific reason to consider only 200 request?

from uwsgi-sloth.

piglei avatar piglei commented on July 20, 2024

While I cann't recall any specific reason at this moment, maybe requests other than 200 doesn't make any sense when this tool was initially written for my personal website.

I think the status restriction should be removed or become configurable, I will update it later.

from uwsgi-sloth.

Related Issues (7)

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.