-
Notifications
You must be signed in to change notification settings - Fork 17
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 a panel plugin named filter-panel. #120
Conversation
Signed-off-by: 冯勇蒿@fyh01789115 <fyh01789115@antgroup.com>
@@ -0,0 +1,43 @@ | |||
version: "2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please removed unuesd file grafana_plugin/filter_panel/.aci.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
build/docker/Dockerfile.grafana
Outdated
@@ -13,6 +19,7 @@ RUN npm install \ | |||
FROM grafana/grafana:10.4.2-ubuntu | |||
|
|||
COPY --from=node /app/yaml_panel/dist /var/lib/grafana/plugins/antgroup-yaml-panel | |||
COPY --from=node /app/filter_panel/dist /var/lib/grafana/plugins/antgroup-filter_panel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This path name "antgroup-filter_panel" contains "_" and "-", please check whether this will affect the use of the plugin name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Signed-off-by: 冯勇蒿@fyh01789115 <fyh01789115@antgroup.com>
Signed-off-by: 冯勇蒿@fyh01789115 <fyh01789115@antgroup.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Add a panel plugin for grafana, users can establish associations between filter panels and Contant data in variables, and dynamically control the query status of panels in the dashboard by modifying filter items.
Config panel
User can config filter format and filter option by themself.
![截屏2024-05-28 18 47 13](https://private-user-images.githubusercontent.com/41713767/334376276-954ff6df-c36d-4cd2-a3d4-b6ec25c6fe92.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTU4ODcsIm5iZiI6MTczOTU1NTU4NywicGF0aCI6Ii80MTcxMzc2Ny8zMzQzNzYyNzYtOTU0ZmY2ZGYtYzM2ZC00Y2QyLWEzZDQtYjZlYzI1YzZmZTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE3NTMwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhODllYTk1ODhhMTgyMDJjZmNjMzg2MWE3NDJjM2UzN2QzZGY2YTU3OTg1NDFkMDMwZDc5YTYwMTE1MTE1YTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.omPCretYt-PTBrxj_QMvzQ3j-E6_skjntd6apUk7jI0)
![截屏2024-05-28 18 47 33](https://private-user-images.githubusercontent.com/41713767/334376307-a2a1958e-6ade-47fd-9c12-3c7cd26b169f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTU4ODcsIm5iZiI6MTczOTU1NTU4NywicGF0aCI6Ii80MTcxMzc2Ny8zMzQzNzYzMDctYTJhMTk1OGUtNmFkZS00N2ZkLTljMTItM2M3Y2QyNmIxNjlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE3NTMwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4NWQ2MTdkMzNmMGQ0YmFjYWNjNGFlOThiYWQ3ODkxYzZiZDZjOTIwNTIzMzQyNzg3YmU2Yjc0NTQ1MDczMzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.zS7wl-BcXWSFvZ_lrhm3lvYMgcMSspDtxdWqNnFy6SE)
Add filter
Change filter
Delete filter
Related Issues
Close #119