Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(routing): Added logs for routing #3097

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

Sarthak1799
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Added logs in routing flows for better metrics and logging using dashboard.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@Sarthak1799 Sarthak1799 added C-feature Category: Feature request or enhancement A-routing Area: Routing labels Dec 9, 2023
@Sarthak1799 Sarthak1799 self-assigned this Dec 9, 2023
@Sarthak1799 Sarthak1799 requested review from a team as code owners December 9, 2023 08:06
@Narayanbhat166
Copy link
Member

Can you attach screenshots as to how the log lines would be printed?

crates/router/src/core/payments.rs Outdated Show resolved Hide resolved
crates/router/src/core/payments/routing.rs Outdated Show resolved Hide resolved
crates/router/src/core/payments.rs Outdated Show resolved Hide resolved
crates/router/src/core/payments/routing.rs Outdated Show resolved Hide resolved
crates/router/src/core/payments/routing.rs Outdated Show resolved Hide resolved
crates/router/src/core/payments/routing.rs Outdated Show resolved Hide resolved
vspecky
vspecky previously approved these changes Jan 18, 2024
@koushikg14
Copy link

@tinu-hareesswar can we identify the key events and send the stream to the kafka topic so that we can have these reflections in Clickhouse as well?

FYI- @dvenga @lsampras

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-routing Area: Routing C-feature Category: Feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants