juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
11.99k stars 1.26k forks source link

feat(logging): add support for reading locally generated file logs via vector instance #5123

Open lsampras opened 3 months ago

lsampras commented 3 months ago

Currently we use a vector docker service to manage our logs & events pipeline. This vector is controlled by this configuration.

We need to add support for reading file logs from local system and send them to loki / opensearch with a proper tag/labels.

Can take a look at the promtail configuration to get an idea about the exact specifications of this.

References: file source in vector addition of vector service

aayushdhiman01 commented 3 months ago

@lsampras i would like to work on this .

lsampras commented 3 months ago

hey @aayushdhiman01 thanks for the interest I'll assign you this issue. you can ask any doubts about the setup or testing here or on the slack/discord..

aayushdhiman01 commented 3 months ago

@lsampras added pr please check.

lsampras commented 3 months ago

@lsampras added pr please check.

@aayushdhiman01 Can you share the pr here or link this issue to it.

aayushdhiman01 commented 3 months ago

@lsampras https://github.com/juspay/hyperswitch/pull/5166

aayushdhiman01 commented 3 months ago

@lsampras please check the pr #5166

aayushdhiman01 commented 3 months ago

@lsampras please check the pr #5166 i made the required changes