Code Monkey home page Code Monkey logo

good-loggly's People

Contributors

arb avatar bsapot avatar cjihrig avatar dsernst avatar fhemberger avatar greenkeeperio-bot avatar joeybaker avatar patrickrbc avatar pizzabrandon avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

good-loggly's Issues

Add bulk messaging capability

Would you take a PR for adding bulk messaging support?

I recommend adding two options threshold and maxDelay like I used in good-tcp which follows the pattern established by the official good plugins, such as good-udp. These would inform the plugin if/how to buffer the messages before sending.

  • threshold indicates how many messages to buffer before sending
  • maxDelay tells the plugin the longest time it should hold a buffer before sending on next message (useful for programs with lower log frequency).

To maintain backward compatibility with existing plugin installations and make bulk transmission an opt-in feature, threshold would be set to 0.

Documentation

Would you take a PR on how to setup Loggly for good 6 & 7? The current example only works for the older versions.

good-loggly silently failing

I have both good-console and good-loggly registered as reporters for:

events: { log: '*', request: '*'},

I'm seeing the good-console logs appear like:

151012/172025.029, [response], http://0.0.0.0:8000: get /empire {} 200 (9ms) 

But nothing is showing up in loggly.


From within module.exports = internals.GoodLoggly = function (events, config) {, I can add this line:

this._client.log({msg: 'hello worldfoobar'}, ['david-localhost'])

and that event will appear in loggly, including the tag. So it's not a credential problem or issue with the loggly package.

I can add a console log to internals.GoodLoggly.prototype.init which appears no problem.

But if I add a console log to internals.GoodLoggly.prototype._report, it never gets printed, even as I hit routes that appear in good-console. This suggests there's a problem with one of these lines: https://github.com/fhemberger/good-loggly/blob/master/lib/index.js#L45-L46

Should I investigate squeeze? It seems to be working for good-console.

Glue configuration

Hi,

Could you tell me how to use it with glue configuration ? I didn't managed to make it work.

Thanks.

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.