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

Download button not generating event for catalog metrics #1980

Open
pranjalg1331 opened this issue Dec 5, 2024 · 2 comments
Open

Download button not generating event for catalog metrics #1980

pranjalg1331 opened this issue Dec 5, 2024 · 2 comments
Labels
help wanted Extra attention is needed issue/willfix This issue will be worked on kind/bug Something isn't working language/javascript Javascript rela

Comments

@pranjalg1331
Copy link
Contributor

Description

Meshery cloud store metrics for catalog by generating events on dowload, view etc. Request to meshery cloud for generating events on download is failing.

Screenshots

image

Environment:

  • OS: Mac Linux Windows
  • Browser: Chrome Safari Firefox
  • Version:
  • Device: Desktop Mobile

Contributor Guides and Handbook

The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

@pranjalg1331 pranjalg1331 added the kind/bug Something isn't working label Dec 5, 2024
Copy link

welcome bot commented Dec 5, 2024

Thanks for opening this issue. A contributor will be by to give feedback soon. In the meantime, please review the Newcomers' Guide and sure to join the community Slack.

@leecalcote leecalcote added help wanted Extra attention is needed issue/willfix This issue will be worked on language/javascript Javascript rela labels Dec 5, 2024
@leecalcote
Copy link
Member

@aabidsofi19 @pranjalg1331, I have updated the NGINX configuration on playground.meshery.io to allow requests originating from meshery.io (i.e. meshery.io/catalog).
While calls from the sendCloudTelemetry() function are now allowed, they fail to execute, because the API being used requires authentication.

Example: https://playground.meshery.io/api/pattern/download/df24a01a-8235-449f-8dad-4a2474059ad3

Alternatively, https://cloud.layer5.io/system/api/docs#tag/catalog might be able to be used, but it doesn’t seem to have a direct way to include pattern by ID.

https://cloud.layer5.io/api/content/patterns/df24a01a-8235-449f-8dad-4a2474059ad3 is another API that could be used. For published catalog designs, it does not require authentication, and it does log an event. The event action is “view”, however, and would need to be “download”.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed issue/willfix This issue will be worked on kind/bug Something isn't working language/javascript Javascript rela
Projects
None yet
Development

No branches or pull requests

2 participants