Closed fkromer closed 3 years ago
@fkromer are you thinking of using something like InfluxDB to push logs to? It can then be used in Grafana to monitor them. I did this in one of my projects.
@mmchougule Exactly.
I think in that case, I did the following simple things to push logs to influxDB:
Then, running telegraf, was able to push logs successfully to InfluxDB. Once logs are in the DB, we can do other things with it.
Are you thinking of a different approach or somehow streamlining this approach? Possibly with a new kedro plugin?
At work I don't need integration ATM. But I thought about experimenting w.r.t. this in a private side project. Thanks for the hints. I'd use an influxDB client for Python and declare kedro internal logging to be disabled in logging.yml
. One could wrap the logic into a kedro plugin of course. But I don't have the time to this in the near future. Probably it's worth to be put onto the roadmap however.
Hi @fkromer, let us know how the experimentation went. We'd be happy to see a contribution in the form of a Kedro plugin. We're going to close this issue now but let us know if we should reopen it.
Description
It seems like
python-anyconfig
is used inkedro
to configure logging.python-anyconfig
supports file based logging only.Context
File based logging may introduce overhead in case you want to process logs. Distributed logging is a quite common these days. Many developers are familiar with it.
Possible Implementation
Possible Alternatives