You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2022/01/03 20:05:00 UTC

[jira] [Created] (HUDI-3148) Unable to push metrics via pushgateway reporter with https

sivabalan narayanan created HUDI-3148:
-----------------------------------------

             Summary: Unable to push metrics via pushgateway reporter with https
                 Key: HUDI-3148
                 URL: https://issues.apache.org/jira/browse/HUDI-3148
             Project: Apache Hudi
          Issue Type: Task
            Reporter: sivabalan narayanan


Ref issue: [https://github.com/apache/hudi/issues/4496]

 
{code:java}
--hoodie-conf hoodie.metrics.on=true
--hoodie-conf hoodie.metrics.reporter.type=PROMETHEUS_PUSHGATEWAY
--hoodie-conf hoodie.metrics.pushgateway.host=pushgateway.prod.some-tech.in
--hoodie-conf hoodie.metrics.pushgateway.port=443
--hoodie-conf hoodie.metrics.pushgateway.delete.on.shutdown=false
--hoodie-conf hoodie.metrics.pushgateway.job.name=loan_origination_manager_statuses_mgck
--hoodie-conf hoodie.metrics.pushgateway.random.job.name.suffix=false {code}
 

 

stacktrace:
{code:java}
java.io.IOException: Response code from http://pushgateway.prod.some-tech.in:443/metrics/job/loan_origination_manager_statuses_mgck was 400, response body: <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
</body>
</html>

	at io.prometheus.client.exporter.PushGateway.doRequest(PushGateway.java:325)
	at io.prometheus.client.exporter.PushGateway.pushAdd(PushGateway.java:160)
	at org.apache.hudi.metrics.prometheus.PushGatewayReporter.report(PushGatewayReporter.java:72)
	at org.apache.hudi.metrics.prometheus.PushGatewayMetricsReporter.report(PushGatewayMetricsReporter.java:64)
	at org.apache.hudi.metrics.Metrics.reportAndCloseReporter(Metrics.java:62)
	at java.lang.Thread.run(Thread.java:748) {code}
 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)