continuationlabs / good-loggly Goto Github PK
View Code? Open in Web Editor NEWLoggly broadcasting for Good process monitor
License: MIT License
Loggly broadcasting for Good process monitor
License: MIT License
Hi,
it would be awesome if you could update this module to support good 6.0.
Thanks
Martin
Do this - outmoded/hapi-contrib#31
'"ops" events are not supported by Loggly'
Can you offer more information about this?
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
.
Update dependencies including good 7.x.x
Hi,
Could you tell me how to use it with glue configuration ? I didn't managed to make it work.
Thanks.
Would you take a PR on how to setup Loggly for good 6 & 7? The current example only works for the older versions.
Atm logging errors (which is the main thing I want to do) is almost a no go.
Since the useful error values in js are not own properties (like message and stack) they do not get serialized.
2 options:
getMessage
function which would kinda solve this.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 sendingmaxDelay
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
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.