Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Connect to Operate-First logging functionality #12

Open
EricWittmann opened this issue May 17, 2021 · 2 comments
Open

Connect to Operate-First logging functionality #12

EricWittmann opened this issue May 17, 2021 · 2 comments
Assignees

Comments

@EricWittmann
Copy link
Member

No description provided.

@EricWittmann EricWittmann self-assigned this May 17, 2021
@paoloantinori
Copy link
Member

I was trying to make something happen here and found that:

  1. Either we don't have access, or the reported URL is not the correct one: https://loki-frontend-opf-observatorium.apps.zero.massopen.cloud/
  2. Loki, the server used for aggregating data, expects to be loaded via REST invocations. Here we have multiple options:
  3. To control our loggers to send to that specific endoints with the correct format
  4. To use companion sidecars deploying a specialized tool called Promtail that scrapes stdout of the main container and act as forwarders to the process that aggregates data

This is probably a better example than the official Loki one to understand how to configure it with Promtail: https://www.giantswarm.io/blog/grafana-logging-using-loki

@EricWittmann
Copy link
Member Author

OK this is great info. I think (4) is our best bet. I don't think we want to configure app loggers to make REST calls unless there's no other way. The platform should always scrape stdout and report as appropriate (IMO).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants