Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

feat: Improve RFQ-T logging #219

Merged
merged 3 commits into from
May 12, 2020
Merged

feat: Improve RFQ-T logging #219

merged 3 commits into from
May 12, 2020

Conversation

feuGeneA
Copy link
Contributor

@feuGeneA feuGeneA commented May 11, 2020

Description

Updates logging to support the operational monitoring of RFQ-T usage.

Re-pins to an updated asset-swapper with similar changes.

Testing Instructions

View new logging in output of existing (mocha) tests. Below are some examples from the latest CI run of this PR. For each text log entry I've included a nice visual rendering to go with it.


{"level":"info","time":1589240068300,"pid":5145,"hostname":"e6c519a5c290","firmQuoteServed":{"taker":"0x6ecbe1db9ef729cbe972c83fb886247691fb6beb","apiKey":"koolApiKey1","buyToken":"ZRX","sellToken":"WETH","sellAmount":"100000000000000000","makers":["0x5409ED021D9299bf6814279A6A1411A7e866A631"]},"v":1}
image


{"level":"info","time":1589240069170,"pid":5145,"hostname":"e6c519a5c290","indicativeQuoteServed":{"taker":"0x6ecbe1db9ef729cbe972c83fb886247691fb6beb","apiKey":"koolApiKey1","buyToken":"ZRX","sellToken":"WETH","sellAmount":"100000000000000000","makers":["0x0000000000000000000000000000000000000000"]},"v":1}
image


And for completion here's the rendering of the logs in that asset swapper PR:


{"level":"info","time":1589240066372,"pid":5145,"hostname":"e6c519a5c290","rfqtMakerInteraction":{"url":"https://mock-rfqt1.club","quoteType":"firm","requestParams":{"takerAddress":"0x6ecbe1db9ef729cbe972c83fb886247691fb6beb","buyToken":"0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c","sellToken":"0x0b1ba0af832d7c05fd64161e0db78e85978e8082","sellAmount":"100000000000000000"},"response":{"statusCode":200,"latencyMs":4}},"v":1}
image


@feuGeneA feuGeneA requested a review from PirosB3 May 11, 2020 23:40
@feuGeneA
Copy link
Contributor Author

deploy staging

Copy link
Contributor

@steveklebanoff steveklebanoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- thanks for the thorough logs & screenshots!

@feuGeneA feuGeneA merged commit 22b6b0c into master May 12, 2020
@feuGeneA feuGeneA deleted the feat/improve-rfqt-logging branch May 12, 2020 21:24
github-actions bot pushed a commit that referenced this pull request May 18, 2020
# [1.4.0](v1.3.0...v1.4.0) (2020-05-18)

### Bug Fixes

* re-allow unknown tokens to be queried in the swap/quote endpoint ([#226](#226)) ([1379e63](1379e63))

### Features

* add transaction watcher service ([#215](#215)) ([7bbb9c6](7bbb9c6))
* Improve RFQ-T logging ([#219](#219)) ([22b6b0c](22b6b0c))
@github-actions
Copy link

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants