-
Notifications
You must be signed in to change notification settings - Fork 955
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
[feature]Support grafana charts for Prometheus #1658
Commits on Mar 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dcdb96c - Browse repository at this point
Copy the full SHA dcdb96cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfb4e91 - Browse repository at this point
Copy the full SHA cfb4e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b884d0 - Browse repository at this point
Copy the full SHA 8b884d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dc34a8 - Browse repository at this point
Copy the full SHA 4dc34a8View commit details
Commits on Mar 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 66782ca - Browse repository at this point
Copy the full SHA 66782caView commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 954841f - Browse repository at this point
Copy the full SHA 954841fView commit details
Commits on Apr 9, 2024
-
Merge branch 'master' into feature#grafana
Signed-off-by: Logic <zqr10159@dromara.org>
Configuration menu - View commit details
-
Copy full SHA for 548eb56 - Browse repository at this point
Copy the full SHA 548eb56View commit details -
Configuration menu - View commit details
-
Copy full SHA for a57b836 - Browse repository at this point
Copy the full SHA a57b836View commit details -
Merge remote-tracking branch 'origin/feature#grafana' into feature#gr…
…afana # Conflicts: # web-app/src/app/routes/monitor/monitor.module.ts
Configuration menu - View commit details
-
Copy full SHA for a85bc36 - Browse repository at this point
Copy the full SHA a85bc36View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8fba1d - Browse repository at this point
Copy the full SHA f8fba1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9d543c - Browse repository at this point
Copy the full SHA a9d543cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccf234a - Browse repository at this point
Copy the full SHA ccf234aView commit details
Commits on Apr 16, 2024
-
Merge branch 'master' of github.com:dromara/hertzbeat into feature#gr…
…afana # Conflicts: # common/src/main/java/org/apache/hertzbeat/common/entity/manager/Monitor.java # web-app/src/app/pojo/Monitor.ts # web-app/src/app/routes/monitor/monitor.module.ts
Configuration menu - View commit details
-
Copy full SHA for 4f8349e - Browse repository at this point
Copy the full SHA 4f8349eView commit details -
Merge branch 'feature#grafana' of github.com:dromara/hertzbeat into f…
…eature#grafana # Conflicts: # common/src/main/java/org/apache/hertzbeat/common/entity/manager/Monitor.java
Configuration menu - View commit details
-
Copy full SHA for 340a7f4 - Browse repository at this point
Copy the full SHA 340a7f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94bbf28 - Browse repository at this point
Copy the full SHA 94bbf28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 915f342 - Browse repository at this point
Copy the full SHA 915f342View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a26c6d - Browse repository at this point
Copy the full SHA 4a26c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ed2956 - Browse repository at this point
Copy the full SHA 4ed2956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34f1da3 - Browse repository at this point
Copy the full SHA 34f1da3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a98e8 - Browse repository at this point
Copy the full SHA 84a98e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 876276c - Browse repository at this point
Copy the full SHA 876276cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9bf29f - Browse repository at this point
Copy the full SHA c9bf29fView commit details
Commits on Jun 18, 2024
-
Merge branch 'master' of github.com:apache/hertzbeat into feature#gra…
…fana # Conflicts: # common/src/main/java/org/apache/hertzbeat/common/entity/manager/Monitor.java # common/src/main/java/org/apache/hertzbeat/common/util/JsonUtil.java # manager/pom.xml # manager/src/main/resources/sureness.yml # pom.xml # web-app/src/assets/i18n/en-US.json # web-app/src/assets/i18n/zh-CN.json # web-app/src/assets/i18n/zh-TW.json
Configuration menu - View commit details
-
Copy full SHA for 6a010ae - Browse repository at this point
Copy the full SHA 6a010aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7b7af5 - Browse repository at this point
Copy the full SHA c7b7af5View commit details
Commits on Jun 28, 2024
-
Merge branch 'master' of github.com:apache/hertzbeat into feature#gra…
…fana # Conflicts: # manager/src/main/resources/application-test.yml # manager/src/main/resources/application.yml
Configuration menu - View commit details
-
Copy full SHA for b41c9b5 - Browse repository at this point
Copy the full SHA b41c9b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8baf9a5 - Browse repository at this point
Copy the full SHA 8baf9a5View commit details
Commits on Jun 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8137321 - Browse repository at this point
Copy the full SHA 8137321View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a4f865 - Browse repository at this point
Copy the full SHA 6a4f865View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38fedc7 - Browse repository at this point
Copy the full SHA 38fedc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f38c54 - Browse repository at this point
Copy the full SHA 4f38c54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f94994 - Browse repository at this point
Copy the full SHA 5f94994View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3132a55 - Browse repository at this point
Copy the full SHA 3132a55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d68464 - Browse repository at this point
Copy the full SHA 7d68464View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5236793 - Browse repository at this point
Copy the full SHA 5236793View commit details
Commits on Jul 2, 2024
-
Merge branch 'master' into feature#grafana
Signed-off-by: Logic <zqr10159@dromara.org>
Configuration menu - View commit details
-
Copy full SHA for 1659482 - Browse repository at this point
Copy the full SHA 1659482View commit details
Commits on Jul 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for efb83dc - Browse repository at this point
Copy the full SHA efb83dcView commit details
Commits on Jul 7, 2024
-
Merge branch 'refs/heads/master' into feature#grafana
# Conflicts: # web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.ts # web-app/src/app/routes/monitor/monitor-edit/monitor-edit.component.html # web-app/src/app/routes/monitor/monitor-edit/monitor-edit.component.ts # web-app/src/app/routes/monitor/monitor-new/monitor-new.component.html # web-app/src/app/routes/monitor/monitor-new/monitor-new.component.ts
Configuration menu - View commit details
-
Copy full SHA for 84c435c - Browse repository at this point
Copy the full SHA 84c435cView commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 23cfd7f - Browse repository at this point
Copy the full SHA 23cfd7fView commit details -
Merge branch 'master' into feature#grafana
Signed-off-by: Logic <zqr10159@dromara.org>
Configuration menu - View commit details
-
Copy full SHA for 93ffb1e - Browse repository at this point
Copy the full SHA 93ffb1eView commit details
Commits on Aug 28, 2024
-
Merge branch 'master' of github.com:apache/hertzbeat into feature#gra…
…fana # Conflicts: # manager/src/main/resources/application-test.yml # manager/src/main/resources/sureness.yml
Configuration menu - View commit details
-
Copy full SHA for 17db026 - Browse repository at this point
Copy the full SHA 17db026View commit details -
```feat(grafana): integrate Spring RestTemplate for API interactions
Replace Forest client with Spring's RestTemplate to manage Grafana dashboards and data sources. Refactor API endpoints usage to enhance the integration and simplify the codebase for future maintainability. Update service and controller layers to handle Grafana service accounts, tokens, dashboards, and data sources using the Spring ecosystem. BREAKING CHANGE: Replace all Forest client usages with RestTemplate which might affect custom error handling and request/response interception mechanisms. Ensure to test the new integrationthoroughly, especially for edge cases and error scenarios. Client code examples for creating dashboards and data sources have been updated. Review and update any existing integration scripts or client libraries accordingly. Related to issue ```
Configuration menu - View commit details
-
Copy full SHA for 631eb34 - Browse repository at this point
Copy the full SHA 631eb34View commit details -
```feat(grafana): integrate dashboard upload and datasource management
Implement the ability to upload Grafana dashboard JSON files through the monitor form, enhancing the integration between Hertzbeat and Grafana. This feature allows users to easily configure and visualize monitoring data within Grafana. Additionally, refactor the datasource and service account management to use a moreefficient header creation method. This change simplifies the process of authenticating requests to the Grafana API. BREAKING CHANGE: The datasource and service account creation endpoints now expect Base64 encoded credentials in the Authorization header. Adjustments may be required for external systems relying on the previous implementation. ```
Configuration menu - View commit details
-
Copy full SHA for c6fe705 - Browse repository at this point
Copy the full SHA c6fe705View commit details -
```refactor(grafana): organize imports and constants, improve readabi…
…lityThe code imports have been organized, and constants have been grouped together to improvethe readability in several classes within the grafana module. Excessive whitespace has also been removed to ensure a cleaner and more standardized code appearance. ```
Configuration menu - View commit details
-
Copy full SHA for 1f7b2f6 - Browse repository at this point
Copy the full SHA 1f7b2f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bbfb8b - Browse repository at this point
Copy the full SHA 7bbfb8bView commit details
Commits on Aug 29, 2024
-
```docs: update license headers in grafana module Java files
Update the license headers for the Grafana module files to reflect the Apache License 2.0. Ensure that all contributor license agreements are in place and verify the copyright ownership before proceeding with the update. BREAKING CHANGE: All dashboard controllers and services now adhere to the updated licensing agreement. Review the NOTICE file for detailed information regarding copyright ownership and permissions.```
Configuration menu - View commit details
-
Copy full SHA for 8f8dd2f - Browse repository at this point
Copy the full SHA 8f8dd2fView commit details -
```fix(grafana): remove forest HTTP client integration
Due to the integration of the new backend, the forest HTTP client is no longer required and has been removed from the Grafana module dependencies. This simplifies the projectstructure and eliminates the need for managing an additional HTTP client library. ```
Configuration menu - View commit details
-
Copy full SHA for c01a225 - Browse repository at this point
Copy the full SHA c01a225View commit details -
refactor(grafana): remove HTTP prefix handling from URLs
Remove the handling of HTTP prefixes from grafana URLs across the application, as the GrafanaConfiguration class now handles it. This change avoids redundancy and potential mistakes in removing the prefix at multiple points in the application.
Configuration menu - View commit details
-
Copy full SHA for 9304841 - Browse repository at this point
Copy the full SHA 9304841View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fcc1a9 - Browse repository at this point
Copy the full SHA 6fcc1a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bef277 - Browse repository at this point
Copy the full SHA 5bef277View commit details
Commits on Aug 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 72b32dd - Browse repository at this point
Copy the full SHA 72b32ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 362e51c - Browse repository at this point
Copy the full SHA 362e51cView commit details
Commits on Sep 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 63cea67 - Browse repository at this point
Copy the full SHA 63cea67View commit details
Commits on Sep 2, 2024
-
refactor(grafana): update datasource service methods and adjust uploa…
…d list display Change the return type of the createDatasource and deleteDatasource methods in the DatasourceService to void, removing the ResponseEntity. This simplifies the method signatures and aligns them with the updated requirements. Also, modify the monitor-form component to show the upload list for improved user feedback in file selection steps of the monitor form process.
Configuration menu - View commit details
-
Copy full SHA for bce106a - Browse repository at this point
Copy the full SHA bce106aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11878f4 - Browse repository at this point
Copy the full SHA 11878f4View commit details
Commits on Sep 3, 2024
-
```feat(grafana): add instance identifier to dashboard URL and stream…
…line dashboard deletion - Incorporate a unique instance identifier into the Grafana dashboard URL to support individualized access. This enhancement involves modifying the URL construction to include the `INSTANCE` parameter followed by the `monitorId`. - Streamline the dashboard deletion process by moving the call to `dashboardDao.deleteByMonitorId` outside of the try-catch block, ensuring that dashboard deletion from the database is always attempted regardless of the API call's outcome. This change simplifies dashboard lifecycle management and helps maintain data consistency. Additionally, correct the comments in `GrafanaInit` to reflect the logical step order in the initialization sequence, improving code readability. ```
Configuration menu - View commit details
-
Copy full SHA for c012ae8 - Browse repository at this point
Copy the full SHA c012ae8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3855c9d - Browse repository at this point
Copy the full SHA 3855c9dView commit details -
refactor(grafana): streamline dashboard deletion logic
Refactor the dashboard deletion logic in the grafana module to simplify the code and remove unnecessary return statements. The method now ensures that only the relevant dashboard is deleted, even when multiple dashboards with the same UID exist.
Configuration menu - View commit details
-
Copy full SHA for 68c570f - Browse repository at this point
Copy the full SHA 68c570fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59172f7 - Browse repository at this point
Copy the full SHA 59172f7View commit details -
```fix(grafana): correct dashboard URL formatting and constant defini…
…tion Adjust the Grafana dashboard URL formatting in DashboardService to properly handle the concatenation and spacing. Also, correct the definition of the INSTANCE constant in CommonConstants to ensure consistency and avoid potential errors in token formatting. The changes ensure the URL construction follows the intended structure and the INSTANCE constant adheres to the project's coding standards. ```
Configuration menu - View commit details
-
Copy full SHA for 36a2adc - Browse repository at this point
Copy the full SHA 36a2adcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c3261 - Browse repository at this point
Copy the full SHA 32c3261View commit details -
refactor(grafana): replace GrafanaConfiguration with GrafanaPropertie…
…sChange property access pattern from GrafanaConfiguration to GrafanaProperties for consistency with other modules and to align with project property management standards. This update affects several services and controllers that previously used the older configuration pattern. BREAKING CHANGE: Replaced GrafanaConfiguration with GrafanaProperties. This may affect other parts of the system depending on the previous configuration class, so ensure to check all occurrences and make necessary adjustments.
Configuration menu - View commit details
-
Copy full SHA for e93bda1 - Browse repository at this point
Copy the full SHA e93bda1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d14b4ce - Browse repository at this point
Copy the full SHA d14b4ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 959c75e - Browse repository at this point
Copy the full SHA 959c75eView commit details