elixir-google-api icon indicating copy to clipboard operation
elixir-google-api copied to clipboard

Support & Instructions for using Stackdriver

Open rupurt opened this issue 7 years ago • 4 comments

Hi,

I'm trying to figure out how to write the logs from my Elixir application directly to Stackdriver without fluentd. Ideally I'm looking for something like what you provide in ruby but can't seem to find any instructions or guides online.

Cheers

rupurt avatar Jan 21 '19 01:01 rupurt

Any update on this?

christopherdbull avatar Oct 28 '19 14:10 christopherdbull

@te-chris I ended up dockerizing my stuff and using https://cloud.google.com/community/tutorials/docker-gcplogs-driver.

I also wrote a hex package for doing this with files but no longer use it.

  • https://hex.pm/packages/logger_file_backend_with_formatters_stackdriver
  • https://github.com/fremantle-capital/logger_file_backend_with_formatters_stackdriver

rupurt avatar Oct 28 '19 15:10 rupurt

@rupurt now what do you use? I just have the same problem.

ingcrengifo avatar Oct 29 '19 14:10 ingcrengifo

@INGCRENGIFO https://github.com/Nebo15/logger_json with docker

rupurt avatar Oct 29 '19 15:10 rupurt