itspire / monolog-loki Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
I'm trying out Loki and am using your library to log to it. When experimenting with an incorrect Loki URL, monolog-loki
appended the 404 error message to the server output instead of swallowing it. I traced this back to this line:
I suggest setting CURLOPT_RETURNTRANSFER
to true
.
Is there a particular reason this is set to false?
Hi, thank you for the library.
One thing I've found is that this library adds a default label called 'level_name', this is discouraged by best practices: https://grafana.com/docs/loki/latest/best-practices/
Perhaps this could be removed?
Hi, thank you for this lib!
I need some guidance regards handeling an unreachable Loki server.
We are using this library with Laravel which works great, it is used as the last of a few handlers.
If for some reason the Loki server is not available, a RuntimeException
is thrown. This results in exception down the line which is understandable but not convenient.
What would be the best way of handeling this? Perhaps it would be useful to create a Loki exception and replace the RuntimeException
, which I could add to the Laravel ignore properties?
I see the current requirement for monolog-loki is locked to monolog ~1.25, should it be compatible with monolog v2.0?
I do not know about monolog internals or migration needed but this might be related: Seldaek/monolog#903
Thanks!
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.