Skip to content

Commit

Permalink
apache#1759 Update PushGatewayController.java
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Pujara <[email protected]>
  • Loading branch information
MananPoojara authored Apr 17, 2024
1 parent b989eaf commit c96cf1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* push gateway controller
*/
@Tag(name = "Metrics Push Gateway API | 监控数据推送网关API")
@Tag(name = "Metrics Push Gateway API")
@RestController
@RequestMapping(value = "/api/push/pushgateway")
public class PushGatewayController {
Expand All @@ -45,7 +45,7 @@ public class PushGatewayController {
private PushGatewayService pushGatewayService;

@PostMapping()
@Operation(summary = "Push metric data to hertzbeat pushgateway", description = "推送监控数据到hertzbeat推送网关")
@Operation(summary = "Push metric data to hertzbeat pushgateway", description = "Push metric data to hertzbeat pushgateway")
public ResponseEntity<Message<Void>> pushMetrics(HttpServletRequest request) throws IOException {
InputStream inputStream = request.getInputStream();
boolean result = pushGatewayService.pushMetricsData(inputStream);
Expand Down

0 comments on commit c96cf1c

Please sign in to comment.