Projects tigase _server tigase-extras Issues #8
Add support for logging using Loki (#8)
Open
wojciech.kapcia@tigase.net opened 3 years ago

While AWS logback support (#issue #2) is nice, AWS CloudWatch seems to be quite expensive for more detailed logging. Alternatively using dedicated, self deployed system could be convenient:

https://grafana.com/oss/loki/ https://github.com/loki4j/loki-logback-appender

Andrzej Wójcik (Tigase) commented 3 years ago

@kobit Should I consider adding some grafana-loki integration on k8s (helm charts) level? Maybe we could add additional pod which would upload logs from our installations to loki server?

Artur Hefczyc commented 3 years ago

Yes, I have been using loki in my tests and experiments and it seem quite good.

CloudWatch is indeed very expensive.

I also use Prometheus for monitoring with Grafana to display metrics.

Andrzej Wójcik (Tigase) commented 3 years ago

In my side project, I'm using Prometheus and Grafana for monitoring. Maybe it would be good to plan to add some metrics (Tigase specific) to Tigase, so we could monitor Tigase with Grafana & Prometheus?

wojciech.kapcia@tigase.net commented 3 years ago

Maybe it would be good to plan to add some metrics (Tigase specific) to Tigase, so we could monitor Tigase with Grafana & Prometheus?

@andrzej.wojcik #server-1034 :-)

Artur Hefczyc commented 3 years ago

Definitely yes.

Andrzej Wójcik (Tigase) commented 3 years ago

Having a custom logger with tagging for loki can be useful but with docker/k8s we can easily get console log as a source for scrapping, see #k8s-7

Artur Hefczyc commented 3 years ago

What about the case where we have to manage 100s or 1,000s systems?

wojciech.kapcia@tigase.net commented 2 years ago

Having a custom logger with tagging for loki can be useful but with docker/k8s we can easily get console log as a source for scrapping, see #k8s-7

Two "buts":

  1. not everyone uses k8s
  2. console log doesn't contain all logs (though, scraping logs from tigase.log.x is probably a possibility as well) but more importantly - it has quite awful performance.

IMHO dedicated handler could still be useful.

wojciech.kapcia@tigase.net batch edited 4 months ago
Name Previous Value Current Value
Iterations
empty
Candidate for next major release
wojciech.kapcia@tigase.net added "Related" tigase/_server/server-core#1034 3 months ago
issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
Candidate for next major release
Issue Votes (0)
Watchers (2)
Reference
tigase/_server/tigase-extras#8
Please wait...
Page is in error, reload to recover