Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    FYI: Statistics are limited to 5,000 clicks in the default app packaging

    Kutt
    4
    7
    193
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • luckow
      luckow translator last edited by

      At first I thought it was a bug. After reading the documentation, I found that the app package has a default value of 5,000 clicks for the stats. I have no idea if it's a good idea to choose a larger value. In my case, I changed it to 50,000. After restarting the app, the stats show me the detailed clicks in the stats. But between reaching the 5,000 limit and my restart, it has no more clicks.

      If you want to change this yourself, this is the variable:

      # Max number of visits for each link to have detailed stats
      DEFAULT_MAX_STATS_PER_LINK=5000
      

      Pronouns: he/him | Primary language: German

      fbartels 1 Reply Last reply Reply Quote 0
      • robi
        robi last edited by

        is this a queue kind of limit? FILO?
        Or it stops all stats after the max?

        Life of Advanced Technology

        luckow 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels App Dev @luckow last edited by fbartels

          nobody needs more than 640k of RAM 5000 clicks on a single link

          😆

          1 Reply Last reply Reply Quote 3
          • luckow
            luckow translator @robi last edited by

            @robi It stops the detailed stats after reaching the limit.

            Pronouns: he/him | Primary language: German

            robi 1 Reply Last reply Reply Quote 0
            • robi
              robi @luckow last edited by

              @luckow what other kind are there?

              it seems it doesn't have a good way to consolidate stats data that is aging past a certain date/stat count in a useful way.

              Were size or performance limitations mentioned past a certain amount?

              Life of Advanced Technology

              luckow 1 Reply Last reply Reply Quote 0
              • luckow
                luckow translator @robi last edited by

                @robi nope. Nothing special in the .env or issue queue. And: There is no detailed documentation for kutt.

                Pronouns: he/him | Primary language: German

                1 Reply Last reply Reply Quote 0
                • nebulon
                  nebulon Staff last edited by girish

                  I have added this info in the docs page now https://docs.cloudron.io/apps/kutt/#link-stats

                  1 Reply Last reply Reply Quote 4
                  • First post
                    Last post
                  Powered by NodeBB