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

Analytics dashboard #965

Open
rndquu opened this issue Sep 27, 2024 · 42 comments · May be fixed by #969
Open

Analytics dashboard #965

rndquu opened this issue Sep 27, 2024 · 42 comments · May be fixed by #969

Comments

@rndquu
Copy link
Member

rndquu commented Sep 27, 2024

It would be useful create a dune analytics dashboard for the Ubiquity protocol (example).

What data to display in the dashboard:

Smart contract addresses: https://github.com/ubiquity/ubiquity-dollar/wiki/24.-Smart-Contracts

@0x4007
Copy link
Member

0x4007 commented Sep 27, 2024

Let's do dune and are there any specifics you want to monitor? You should add to your spec and this is a simple and straightforward bounty for anybody who has built dashboards using dune.

We could start with any popular frax dune dashboard.

@rndquu
Copy link
Member Author

rndquu commented Sep 27, 2024

are there any specifics you want to monitor?

Everything is mentioned in the issue description.

@YanVictorSN
Copy link

/start

1 similar comment
@rndquu
Copy link
Member Author

rndquu commented Sep 30, 2024

/start

@rndquu
Copy link
Member Author

rndquu commented Sep 30, 2024

@gentlementlegen Help

I'm trying to debug why the bot is not responding.

There are 2 kernel workers in the cloudflare dashboard: ubiquity-os-kernel-main and ubiquity-os-kernel-development.

Questions:

  1. ubiquity-os-kernel-main targets github's main branch while ubiquity-os-kernel-development targets the development branch of the bot's repo, correct?
  2. ubiquity-os-deployer (production bot instance) uses the main branch of the https://github.com/ubiquity-os/ubiquity-os-kernel repo, right?

@0x4007
Copy link
Member

0x4007 commented Sep 30, 2024

  1. Yes
  2. Deployer is a dedicated app only for deployments. It was created to offset rate limits. The one you are looking for is ubiquity-os. That is the "actor" of the kernel.

We have been having problems with start all month. It's unreliable

Copy link

ubiquity-os bot commented Sep 30, 2024

@YanVictorSN the deadline is at Tue, Oct 1, 11:48 AM UTC

@gentlementlegen
Copy link
Member

/start

Copy link

ubiquity-os bot commented Sep 30, 2024

! This issue is already assigned. Please choose another unassigned task.

@gentlementlegen
Copy link
Member

gentlementlegen commented Sep 30, 2024

The command-start-stop was never called which is why it never worked. The reason is that a plugin is failing on a fatal error because of the new orgs that have been created and somehow doesn't have the proper access level

{
      "message": [
        "Calling handler {\"owner\":\"ubiquibot\",\"repo\":\"user-activity-watcher\",\"workflowId\":\"compute.yml\",\"ref\":\"development\"} for event issue_comment"
      ],
      "level": "log",
      "timestamp": 1727697850120
},
{
      "message": [
        "Error in event handler",
        "HttpError: Resource not accessible by integration - https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event"
      ],
      "level": "error",
      "timestamp": 1727697850679
}

I fixed by making the plugin higher on the list. I believe the loop should not break if a plugin is not working properly but just log the error. Also maintaining 4 repos is complex, these repos won't get moved?


Edit: after reading my comment I realize that the configuration points to an old repo, that also got renamed (user-activity-watcher -> disqualifier) so that might be why the name doesn't get resolved.

@rndquu
Copy link
Member Author

rndquu commented Sep 30, 2024

ubiquity-os targets the main branch of https://github.com/ubiquity-os/ubiquity-os-kernel, right?

@gentlementlegen
Copy link
Member

Not sure of what your question is with the links you included. The ubiquity-os-bot targets https://ubiquity-os-kernel-main.ubq.workers.dev so the main branch yes.

@rndquu
Copy link
Member Author

rndquu commented Sep 30, 2024

@gentlementlegen Where did you get these logs? From cloudflare dashboard?

Screenshot 2024-09-30 at 15 17 59

@gentlementlegen
Copy link
Member

@rndquu Correct. You can see the time when the github comment was posted
image
so I could narrow down the logs. I also tested with the > live logs to make sure I was correct. Plus I had the command-start-stop logs open in the meantime which showed me no POST was ever received.

@YanVictorSN
Copy link

hi @rndquu . You have any recommendation for open a PR draft in this case? What change in the code can I do for that?

@rndquu
Copy link
Member Author

rndquu commented Oct 1, 2024

hi @rndquu . You have any recommendation for open a PR draft in this case? What change in the code can I do for that?

Open a draft PR with updated README file containing URL to the dune dashboard

@YanVictorSN YanVictorSN linked a pull request Oct 2, 2024 that will close this issue
Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

7 similar comments
Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN, this task has been idle for a while. Please provide an update.

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN the deadline is at Tue, Oct 15, 7:15 PM UTC

@YanVictorSN
Copy link

/start

Copy link

ubiquity-os bot commented Oct 14, 2024

! YanVictorSN you were previously unassigned from this task. You cannot be reassigned.

@YanVictorSN
Copy link

Hi @0x4007 can you assigned me again?

Copy link

ubiquity-os bot commented Oct 14, 2024

@YanVictorSN the deadline is at Tue, Oct 15, 8:55 PM UTC

@YanVictorSN
Copy link

@YanVictorSN the deadline is at Tue, Oct 15, 8:55 PM UTC

Already done. Just waiting for a review.

@0x4007
Copy link
Member

0x4007 commented Oct 19, 2024

@YanVictorSN the deadline is at Tue, Oct 15, 8:55 PM UTC

Already done. Just waiting for a review.

@rndquu is the deliverable acceptable?

@luisantoniocrag
Copy link

/start

Copy link

ubiquity-os bot commented Oct 19, 2024

! This issue is already assigned. Please choose another unassigned task.

Copy link

ubiquity-os bot commented Oct 22, 2024

@YanVictorSN the deadline is at Wed, Oct 23, 4:50 AM UTC

@YanVictorSN
Copy link

/start

Copy link

ubiquity-os bot commented Oct 22, 2024

! You are already assigned to this task.

Copy link

ubiquity-os bot commented Nov 6, 2024

Passed the deadline and no activity is detected, removing assignees: @YanVictorSN.

@YanVictorSN
Copy link

@rndquu @0x4007 can I get assigned, please? I'm just waiting for a review.

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

Successfully merging a pull request may close this issue.

5 participants