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 <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)
    Hector Rivas Gandara
    @keymon
    basically cd lib/cf/applications; CF_CLIENT_ID=.... npm start. I followed the README.md there
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> Well this can work if you provide it with all the needed data to connect to Cloud Controller and fetch data from there.
    slackbot6 <hsiliev> To do this you need to create UAA clients that have admin.read-only scope
    slackbot6 <hsiliev> And this requires admin permissions
    Hector Rivas Gandara
    @keymon
    I did that
    I think that works, and it gets all the events
    I see it sending a lot of data to the meter
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> It takes some time to crawl through all of them - the best way to see if it is working is to query the statistics endpoint of the bridges
    Hector Rivas Gandara
    @keymon
    ok, I will do it now. Bare with me, the server is running in a isolated network :(
    abacus-irc-bot
    @abacus-irc-bot
    slackbot6 <hsiliev> The things you want to check is the date of the last event pulled from the CC