Giter VIP home page Giter VIP logo

aerogear-app-metrics's People

Contributors

camilamacedo86 avatar david-martin avatar evanshortiss avatar grdryn avatar josemigallas avatar maleck13 avatar mmurphy avatar paolobueno avatar psturc avatar stephencoady avatar wtrocki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aerogear-app-metrics's Issues

Unique clients metric is incorrect

Expected Behavior

When sending metrics such as security checks, the unique client count should only increase by 1 irrespective of how many times those metrics are sent from that client.

Actual Behavior

Each time a metric is published the unique client count increased by 1. This does not currently happen with app and device metrics - only with custom metrics such as security.

Steps to Reproduce the Problem

The easiest way to reproduce this is using one of the showcase applications. Using the cordova application and the mobile core with metrics running:

  1. Run the device and navigate to the authentication page. The unique client count in displayed in Grafana should increment by 1. If the app is rebuilt and rerun and the authentication page loaded again, the count stays at 1.
  2. Navigate to the Device Trust page. This sends four metrics in a security array, as defined by this api. The count here will only increase by 1.
  3. Re-load the page and the metrics will be re-sent. The unique client count will now increase by 1.

Specifications

  • Metrics API version: 0.0.12

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.