-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is this repo still working? #90
Comments
I'm currently in the same boat, having the same kind of results. Hard to tell if the logs are even hitting the API. I've downloaded and run directly from the latest code to try and figure it out. |
Okay I think I sorted my problem - it was TLS related but there was no way to easily figure that out. |
the docker provided in example also is pulling it's good piece of work and need more attention towards it <3 |
The problem is that Winston returns the timestamp as a string and this transport expects a date. As a workaround I set the option replaceTimestamp to true. Lines 55 to 84 in 8af9b48
|
I use the latest for Loki, Grafana, and Promtail and it's working fine. Please consider that URL for Loki on Grafana must be http://loki:3100 and for winston-loki must be http://localhost:3100 |
i see some contradictory comments here, let me test it with current main head at and i will report the results |
That was my issue, thank you. |
as grafana stated in their official website their api can undergo breaking changes,
and they didn't even listed this project even as an unofficial related library to their project
i hoped i could use this lib (which is currently most popular node lib related to loki) to use it's functionality but i struggled for +8 hours and couldn't make it work,
it's not failing fast i can't even tell if it's facing any issue or not, tried different configurations then used the provided example and tests and yet i can't get what i need
The text was updated successfully, but these errors were encountered: