Comments (4)
Really sorry for the very very very late response!
For grafana server, I used the available .deb package from grafana download section (version 7.1.3):
https://grafana.com/grafana/download
For both promtail and loki binaries I got them from here (version 1.6.0):
https://github.com/grafana/loki/releases/
So right now, I'm going to downgrade the loki/promtail versions to 1.4.1 to see what happens.
Thanx in advance for your attention.
Happy new year =)
from winston-loki.
Thanks for pointing this out! You're right, there's definitely something wrong when using the current version, as the examples don't seem to work either. Happy to help, but not sure if I have the time to dig deep into 1.5.0 – 2.0.0 compatibility before the weekend.
I released the examples in April, and on that note the latest working version should be around 1.4.0. Sorry for using such vague language in defining what versions have been deemed working with the latest build. I recommend everyone using the latest, version ^6.0.0 of this package, since it has the changes needed to work with Grafana Loki version 1.0.0, and because the winston-loki
5.1.2 uses soon-to-be deprecated API endpoints.
Have to take a look into their latest change logs, but I recommend tinkering a bit with the examples and the docker-compose.yaml, as that's what I would do in a situation like this.
What's your configuration exactly and what do you mean by Grafana Server? Do you mean the dashboard GUI itself without the promtail and loki components, or is this a bundle of some sort?
from winston-loki.
It seems that Grafana Server 7.0.0 has removed support for deprecated endpoints: "Datasource/Loki: Support for deprecated Loki endpoints has been removed."
https://github.com/grafana/grafana/blob/master/CHANGELOG.md#breaking-changes-2
from winston-loki.
https://grafana.com/docs/loki/latest/api/#push-log-entries-to-loki
$ curl -v -H "Content-Type: application/json" -XPOST -s "http://localhost:3100/loki/api/v1/push" --data-raw \
'{"streams": [{ "stream": { "foo": "bar2" }, "values": [ [ "1570818238000000000", "fizzbuzz" ] ] }]}'
from winston-loki.
Related Issues (20)
- I cannot start project HOT 1
- use Symbol.for('level') when extracting label HOT 1
- useCustomFormat is broken
- Race condition in batching leading to lost logs HOT 1
- QUESTION: How many log levels are supported? HOT 2
- Feature Request: awaitable finishRequests method
- TypeError: winston_loki_1.default is not a constructor HOT 2
- Remote Loki HOT 1
- Possible to quit the batcher loop ASAP when closing? HOT 1
- [patch] A method to wait until all the logs are physically sent to winston HOT 3
- Docs: Add a section to explain how to make it work with nextjs and/or webpack HOT 5
- Snappy optionalDependency upgrade breaks build HOT 2
- CVE-2023-36665 protobufjs Dependency HOT 3
- Childlogger with additional labels
- NodeJS crash when batching is enabled
- Segmentation fault with swc & vitest in github action ubuntu-latest when using version 6.0.7
- Documentation improvement ideas
- logfmt syntax error with Grafana cloud
- push log to grafana cloud having logs lost
- Module parse failed error on Next.js 14 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winston-loki.