Coder Social home page Coder Social logo

balog's People

Contributors

fangpenlin avatar lowks avatar mjallday avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

balog's Issues

Integer unsuitable for schema versioning

schema (required)
The integer number indicates the version of schema.

I propose we use semver instead. The benefit of a semver version indicator is that it makes it clear what is a breaking change, and what is just additional.

Why is this repo private?

Open company etc etc etc. It's much easier to start a repo as public and make it private later if required than the other way around.

How to serialize and parse log with the same schema

mentioned here 25131ee#commitcomment-7740436

and the reason JSON handler is not suitable is, if it is datetime, it's fine since json handler knows how to deal with it, but if it's a string like

/uri/{id}

in this case, id is the only meaningful part, so we will certainly extract that as in object. But when we are going to serialize it, json handler cannot know this.

Easy consumer

balog consume <app_initialization options> -- options options

e.g. balog consume balanced_service.init -s /etc/balanced/balanced.conf -- -ldebug

right now if i want to integrate a consumer for the service i need to write a small script to scan the consumers and instantiate an engine and begin consumption of events.

what i'd like to be able to do is not write that runner but instead specify the init function that can be called, pass it some parameters and let balog write the runner for me.

Broken release

When I run pip install -e .[tests] in justitia, and I run the justitia command

justitia

error

pkg_resources.DistributionNotFound: balog==0.0.3

will be raised. I see this line in the pip installation log. My bet is the setup.py version number reading is broken or what

Requested balog==0.0.3 (from justitia==0.0.0), but installing version 0.0.0

Why does this require newer setup tools

https://magnum.travis-ci.com/balanced/balanced/builds/6696671

Downloading/unpacking balog[kafka]>=1.2,<1.3 (from balanced-service==1.8.23)
  Downloading balog-1.2.3.tar.gz
  Running setup.py (path:/home/travis/virtualenv/build/balog/setup.py) egg_info for package balog

    The required version of setuptools (>=3.5.1) is not available,
    and can't be installed while this script is running. Please
    install a more recent version first, using
    'easy_install -U setuptools'.

    (Currently using setuptools 2.2 (/home/travis/virtualenv/lib/python2.7/site-packages))
    Complete output from command python setup.py egg_info:

The required version of setuptools (>=3.5.1) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using

What does this requirement give us?

Add coverage

be good to enforce coverage and keep track of it.

Source may be too restrictive

source (optional)
Source of this event, usually a FQDN of host. Since this might not given by application when the event is generated, it could be attached by fluented or other log processor, so it should be optional.

Rather than a single field for the FQDN of the host, how about a context field that allows specifying many attributes about when the message was generated?

E.g.

  • FQDN
  • versions of various installed libraries
  • logged in user
  • time taken to process
  • application - e.g. balanced, precog, knox
  • application_version - e.g. 1.8.0

these are just example fields, i'm not advocating for them, rather suggesting that a field that can contain more information that just a single item (FQDN) would be more suitable.

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.