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

add explorer plugins #37

Merged
merged 1 commit into from
Feb 6, 2025
Merged

add explorer plugins #37

merged 1 commit into from
Feb 6, 2025

Conversation

jgbernalp
Copy link
Collaborator

This PR:

  • Adds the explorer views for Prometheus and Tempo plugins.

Needs changes from Perses packages, in particular exports from @perses-dev/explore perses/perses#2598

Prometheus/package.json Outdated Show resolved Hide resolved
},
"peerDependencies": {
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@hookform/resolvers": "^3.2.0",
"@perses-dev/components": "^0.50.1",
"@perses-dev/core": "^0.50.1",
"@perses-dev/dashboards": "^0.50.1",
Copy link
Member

Choose a reason for hiding this comment

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

I guess ideally explorer shouldn't be dependent on the package @perses-dev/dashboards that sounds heavy.

WDYT @jgbernalp @celian-garcia @Gladorme ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes is heavy. The main component used here is the Panel, which we might move to @perses-dev/components. I Just wanted to do minimal changes so this can work.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For the moment this will be provided by Perses UI as a shared dependency

@jgbernalp jgbernalp force-pushed the add-explorer-plugins branch 2 times, most recently from dc121e7 to da4d146 Compare February 5, 2025 19:42
@jgbernalp jgbernalp marked this pull request as ready for review February 5, 2025 19:45
@jgbernalp
Copy link
Collaborator Author

While testing this, I found an issue. Here the fix perses/perses#2607

Copy link
Member

@Nexucis Nexucis left a comment

Choose a reason for hiding this comment

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

🥳

@@ -1,7 +1,7 @@
{
"name": "@perses-dev/prometheus",
"private": true,
"version": "0.4.1",
"version": "0.4.2",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"version": "0.4.2",
"version": "0.5.0",

Because you are adding new functionalities, it's not a simple patch

@@ -1,7 +1,7 @@
{
"name": "@perses-dev/tempo",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"version": "0.1.1",
"version": "0.2.0",

same reason than for Prometheus, it's not a patch

Signed-off-by: Gabriel Bernal <[email protected]>
@jgbernalp jgbernalp force-pushed the add-explorer-plugins branch from da4d146 to a92ff6f Compare February 6, 2025 08:29
@Nexucis Nexucis merged commit 3083e8f into main Feb 6, 2025
8 checks passed
@Nexucis Nexucis deleted the add-explorer-plugins branch February 6, 2025 08:45
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