Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <dr.max> https://zoom.us/j/788691850
    slackbot1 <dr.max> <here> anyone else joining? I am on
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <hsiliev> !here|@here I'm on vacation the whole month. Sorry for the late notice.
    slackbot1 <hsiliev> Not sure the plan really has previous and current. @keviny Is this normal in your pov?
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <keviny> No, with 10 and 10 it should be 20. Can you replicate it @carrolp? clean the db and send the same two records.
    slackbot1 <hsiliev> It may happen if we have retries after the collector
    slackbot1 <hsiliev> Actually after the meter
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <keviny> The only way this happen is if it succeeded posting the accumulated doc, but failed at the duplicate doc. It would retries and decides it is not a duplicate, and accumulate it again.
    slackbot1 <carrolp> retrying now....
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <carrolp> Did not recreate this time. Retrying again.
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <carrolp> Did not recreate with a second attempt either. @keviny I didn't quite follow your example of "failing at the duplicate doc". Would this have happened if I had emptied the databases but not deleted them and then tried to send in the same data again? The CouchDB I'm using would still have the old documents marked as _deleted=true, and potentially leading to a document conflict.
    slackbot1 <carrolp> Could this explain the problem I saw originally perhaps?
    slackbot1 <hsiliev> Did you restart Abacus after clearing the DB?
    slackbot1 <carrolp> @hsiliev It was a couple days ago, I can't recall for sure. If I do not restart the DB after clearing the databases, I think I just recreated the problem -- I sent in two records, deleted them, sent in two more records, and the consumption report returned '40' instead of the correct '20'
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <hsiliev> Might be because of cache in Couch or Abacus
    slackbot1 <keviny> Yeah, if you cleaned the db, but does not restart the app
    slackbot1 <keviny> Abacus has the cache on the accumulated usage doc (which keeps the 20)
    slackbot1 <keviny> And since the db is cleaned, when it checks if the record was submitted previously (by fetching the duplicate doc from db) it will says not a duplicate.
    slackbot1 <keviny> so it will go ahead and accumulate it to 40
    abacus-irc-bot
    @abacus-irc-bot
    slackbot1 <carrolp> I can confirm now that the 10+10=30 problem was purely due to my experimentation -- clearing the databases and retrying without restarting abacus. I wasn't deliberately trying to keep abacus running originally, but could easily have done it by accident when resetting for another test. Thanks for the help!
    abacus-irc-bot
    @abacus-irc-bot
    slackbot7 <david.wu> m
    abacus-irc-bot
    @abacus-irc-bot
    slackbot7 <dr.max> Thanks @hsiliev and remaining please update <here> on any progress or shareable info. Thx
    abacus-irc-bot
    @abacus-irc-bot
    slackbot12 <hsiliev> Since I won’t be able to make it on Friday evening (public holiday here in Bulgaria), <here> is the status update for the team: - bumped supported node version to 8.1.3 (latest version with node.js snapshot optimizations for eval) - increased poll interval for app & services bridges to reduce CC load - reporting will skip missing consumers from previous months - brainstroming ideas about v2 - working on support for
    slackbot12 updates from Resource Providers). First version should land next week.
    abacus-irc-bot
    @abacus-irc-bot
    slackbot12 <dr.max> Thanks @hsiliev
    slackbot12 <dr.max> My status is I am reviewing the v2 items. You’ll see my comments as I get a chance to add them
    slackbot12 <dr.max> Did you schedule the v2 inception? I can schedule for you if you need
    slackbot12 <dr.max> FYI to <here> that I will be at pivotal all next two weeks. In case folks there want to chat about Abacus
    write2akhilr
    @write2akhilr
    Hello everyone , I am trying to setup abacus on my window OS, Do I need to setup Bosh-lite to move on.
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> You can run Abacus locally with npm start
    slackbot6 <hsiliev> If you want to deploy Abacus on CF (bosh-lite or cloud setup) you might need to put zip binary in the path due to cloudfoundry-incubator/cf-abacus#239
    Hector Rivas Gandara
    @keymon
    Morning
    I am trying to use cf-abacus, but I am quite lost to be honest :-D.
    Following sparse documentation I managed to start it locally with pouchdb, and then run the cf/applications to send the events
    I basically start the services with npm start, and then run the
    I run the cf application to report locally. But I am not able to generate any report.
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> you can run the demo that: 1. posts 3 usage documents 2. gets usage report
    Hector Rivas Gandara
    @keymon
    That works good. I get the report
    from the demo
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> you can also check this script here: https://github.com/hsiliev/workstation-scripts/blob/master/scripts/abacus-local-get.sh
    Hector Rivas Gandara
    @keymon
    but how can I get the report of usage of real apps form the actual orgs?
    OK, I will have a look to that script
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> it will get you the usage report
    slackbot6 <hsiliev> to filter it you can use graphql or do it client side
    Hector Rivas Gandara
    @keymon
    I actually do that, but the report comes empty
    I get the org id with cf org myorg --guid
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> I see. Abacus expects someone to submit report for the applications. We have 2 components that integrates it with CF - app & services bridges
    Hector Rivas Gandara
    @keymon
    yep, I am running the cf bridge
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> You can check its logs and the statistics (see https://github.com/hsiliev/workstation-scripts/blob/master/scripts/abacus-bridge-statistics.sh)