Giter VIP home page Giter VIP logo

Comments (8)

osoner avatar osoner commented on May 18, 2024

Existing platform-wise this is pretty easy to implement. We were talking about the same feature recently and I think this is a useful one. Probably it will first be available as the aggregation of all apps and later on we can discuss about grouping/tagging.

I will make sure to arrange a spot for this on our roadmap.

from countly-server.

DanielNagy avatar DanielNagy commented on May 18, 2024

That would be great :)

from countly-server.

jpilon avatar jpilon commented on May 18, 2024

Has there been any update to this?

from countly-server.

osoner avatar osoner commented on May 18, 2024

Wow, it is always very nostalgic to see a request from a year ago that is not implemented :) It is not done yet since we have been busy with funnels and segmentations. As soon as we are done, we will go over this kind of very nice to have features.

from countly-server.

jpilon avatar jpilon commented on May 18, 2024

Purrrfect, I've just installed the server, have big plans for it but aggregation by all apps / category is a crucial must have, especially via api read (I know I can loop over each app via api but would be nice for singular api call) :)

from countly-server.

osoner avatar osoner commented on May 18, 2024

If the data from the API will suffice (no aggregated graphs etc.) I can suggest something in case you are willing to dive into the code :)

By default standart data such as sessions, locations etc. are returned through fetch.js #154. As you can see it uses the single app_id which belongs to the current application.

In order to extend this logic you can simply add another function to fetch.js like below. Note that it is using a parameter called app_ids which will basically be an array containing the app_ids you want the data for.

fetch.fetchMultiAppData = function (collection, params) {
    common.db.collection(collection).find({'_id': {$in: params.app_ids}}).toArray(function (err, result) {
        common.returnOutput(params, result);
    });
};

Then you can simply add your own route to the api (something like /o/all) that will be very similar to /o but it will have an extra app_ids parameter and you might want to check if the requester has the rights to read data for all apps in this array.

from countly-server.

jpilon avatar jpilon commented on May 18, 2024

Very nice! I will give that a try, thanks!

from countly-server.

ar2rsawseen avatar ar2rsawseen commented on May 18, 2024

All Apps view added to Countly in 607f8e0

from countly-server.

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.