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

[Catalog] Capture content item metrics in remote provider #1768

Open
leecalcote opened this issue Jun 18, 2024 · 12 comments
Open

[Catalog] Capture content item metrics in remote provider #1768

leecalcote opened this issue Jun 18, 2024 · 12 comments
Assignees
Labels
area/website issue/stale Issue has not had any activity for an extended period of time kind/enhancement New feature or request

Comments

@leecalcote
Copy link
Member

leecalcote commented Jun 18, 2024

Current Behavior

Actions such as "Download", "Clone" and so on do not have their count incremented in order to track content popularity in the meshery.io/catalog

Desired Behavior

Increment count in remote provider catalog.

Screenshots / Mockups


Contributor Guides and Resources

@codeSafari10
Copy link
Contributor

please assign to me

Copy link

stale bot commented Jul 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the issue/stale Issue has not had any activity for an extended period of time label Jul 27, 2024
@akshansh-modi
Copy link
Contributor

@leecalcote i would like to work on this

@stale stale bot removed the issue/stale Issue has not had any activity for an extended period of time label Jul 31, 2024
@leecalcote
Copy link
Member Author

@codeSafari10 @MUzairS15 has this functionality been completed?

@MUzairS15
Copy link
Contributor

MUzairS15 commented Jul 31, 2024

@aabidsofi19 ensured that a request was made to the remote provider when the clone button was clicked.

@aabidsofi19 Did you also account for download?

@leecalcote
Copy link
Member Author

@MUzairS15 under what metric would he have done so for Download?

@leecalcote
Copy link
Member Author

@akshansh-modi, sounds great. I can confirm that there is a "Downloads" metric available.

Screenshot 2024-07-31 at 4 42 39 PM

See the Cloud API, if helpful.

@akshansh-modi
Copy link
Contributor

@leecalcote i am unable to download , it seems to me that this is a cors issue
image

Screenshot from 2024-08-02 16-22-53

Screenshot from 2024-08-02 16-23-26

@akshansh-modi
Copy link
Contributor

Is the catalog leaderboard you mentioned the one at meshery.layer5.io?

@leecalcote
Copy link
Member Author

Is the catalog leaderboard you mentioned the one at meshery.layer5.io?

Yes

@akshansh-modi
Copy link
Contributor

@leecalcote, I looked into it and it seems to be an issue with the backend rather than with the meshery.io repository. If the link https://playground.meshery.io/api/pattern/download/${patternId} is the correct one being used here, that might be where the problem lies.

Copy link

stale bot commented Sep 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the issue/stale Issue has not had any activity for an extended period of time label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/website issue/stale Issue has not had any activity for an extended period of time kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants