Giter Site home page Giter Site logo

Comments (4)

dimascrocco avatar dimascrocco commented on June 2, 2024 2

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.

JaniAnttonen avatar JaniAnttonen commented on June 2, 2024

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.

JaniAnttonen avatar JaniAnttonen commented on June 2, 2024

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.

stouch avatar stouch commented on June 2, 2024

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)

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.