Duansg opened a new pull request, #3666:
URL: https://github.com/apache/hertzbeat/pull/3666

   ## What's changed?
   
   Please refer to: [#3664](https://github.com/apache/hertzbeat/issues/3664)
   
   Fixed Grafana visualization integration display issue
   
   After reviewing the relevant documentation for [Grafana Http 
Api](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/#create--update-dashboard),
 starting from Grafana v5.1+, the URL data in the response should be as follows:
   ```json
   {
     "id": 1,
     "uid": "e883f11b-77c0-4ee3-9a70-3ba223d66e56",
     // url:/d/:uid/:slug
     "url": 
"/d/e883f11b-77c0-4ee3-9a70-3ba223d66e56/production-overview-updated",
     "status": "success",
     "version": 2
     "slug": "production-overview-updated",
   }
   ```
   
   For details:
   1. Fixed URL concatenation error
   2. Added `DashboardService` test cases and passed the tests.
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [x]  I have written the necessary doc or comment.
   - [x]  I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to