Skip to content

ROWY-678: Rowy Logging#1010

Merged
shamsmosowi merged 18 commits intodevelopfrom
feature/functions-logging
Dec 30, 2022
Merged

ROWY-678: Rowy Logging#1010
shamsmosowi merged 18 commits intodevelopfrom
feature/functions-logging

Conversation

@bofeiw
Copy link
Contributor

@bofeiw bofeiw commented Dec 10, 2022

This PR implements experimental Rowy Logging feature. Rowy Logging enables a better logging experience across Rowy. logging.log() is provided to all code editors and the logs can be queried directly in Rowy with multiple filters.

An example usage of logging.log()
Screen Shot 2022-12-10 at 5 24 12 pm

Logs are easy to access across Rowy. In Extensions or Webhooks, user can click on logs icon to see logs specific to that Extension/Webhook:
Screen Shot 2022-12-10 at 5 24 55 pm

User can also see logs specific to a column by clicking on the logs icon in column settings.
Screen Shot 2022-12-10 at 5 27 53 pm

Rowy Logs Explorer provides multiple filters:
Screen Shot 2022-12-10 at 5 31 09 pm

Backend codes are already in develop branches:
https://github.com/rowyio/rowy-hooks/tree/develop
https://github.com/rowyio/backend/tree/develop

Rowy Logging is a complex feature. There are a lot to implement. We should continuously optimise functionalities of Rowy Logging, besides whats available in this PR which provides some basic usages.

@vercel
Copy link

vercel bot commented Dec 10, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
rowy-os ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 30, 2022 at 6:05AM (UTC)
rowy-typedoc ✅ Ready (Inspect) Visit Preview Dec 30, 2022 at 6:05AM (UTC)

@bofeiw bofeiw requested a review from shamsmosowi December 10, 2022 09:33
@harinij harinij changed the base branch from main to develop December 16, 2022 13:28
@harinij harinij changed the title Rowy Logging ROWY-678: Rowy Logging Dec 16, 2022
Copy link
Contributor

@shamsmosowi shamsmosowi left a comment

Choose a reason for hiding this comment

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

just the logging defs needs to be cleaned everything else LGTM

auth: firebaseauth.BaseAuth;
query: string;
user: ConnectorUser;
logging: {
Copy link
Contributor

Choose a reason for hiding this comment

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

I see this block repeated for each .d.ts, Can we create something like RowyLogger Type and use it instead having to define each function

Copy link
Contributor Author

@bofeiw bofeiw Dec 30, 2022

Choose a reason for hiding this comment

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

@shamsmosowi I have updated the code to reuse logging types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants