[
https://issues.apache.org/jira/browse/HDDS-919?focusedWorklogId=207949&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-207949
]
ASF GitHub Bot logged work on HDDS-919:
---------------------------------------
Author: ASF GitHub Bot
Created on: 05/Mar/19 18:23
Start Date: 05/Mar/19 18:23
Worklog Time Spent: 10m
Work Description: arp7 commented on pull request #502: HDDS-919. Enable
prometheus endpoints for Ozone datanodes
URL: https://github.com/apache/hadoop/pull/502#discussion_r262622827
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java
##########
@@ -227,4 +227,24 @@ private HddsConfigKeys() {
public static final String HDDS_SECURITY_CLIENT_SCM_CERTIFICATE_PROTOCOL_ACL
=
"hdds.security.client.scm.certificate.protocol.acl";
+ public static final String HDDS_DATANODE_HTTP_ENABLED_KEY =
+ "hdds.datanode.http.enabled";
+ public static final String HDDS_DATANODE_HTTP_BIND_HOST_KEY =
+ "hdds.datanode.http-bind-host";
+ public static final String HDDS_DATANODE_HTTPS_BIND_HOST_KEY =
+ "hdds.datanode.https-bind-host";
+ public static final String HDDS_DATANODE_HTTP_ADDRESS_KEY =
+ "hdds.datanode.http-address";
+ public static final String HDDS_DATANODE_HTTPS_ADDRESS_KEY =
+ "hdds.datanode.https-address";
+
+ public static final String HDDS_DATANODE_HTTP_BIND_HOST_DEFAULT = "0.0.0.0";
+ public static final int HDDS_DATANODE_HTTP_BIND_PORT_DEFAULT = 9882;
+ public static final int HDDS_DATANODE_HTTPS_BIND_PORT_DEFAULT = 9883;
+ public static final String
+ HDDS_DATANODE_HTTP_KERBEROS_PRINCIPAL_KEY =
+ "hdds.datanode.http.kerberos.principal";
Review comment:
Can we just reuse the corresponding HDFS key here?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 207949)
Time Spent: 5h 20m (was: 5h 10m)
> Enable prometheus endpoints for Ozone datanodes
> -----------------------------------------------
>
> Key: HDDS-919
> URL: https://issues.apache.org/jira/browse/HDDS-919
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Labels: pull-request-available
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> HDDS-846 provides a new metric endpoint which publishes the available Hadoop
> metrics in prometheus friendly format with a new servlet.
> Unfortunately it's enabled only on the scm/om side. It would be great to
> enable it in the Ozone/HDDS datanodes on the web server of the HDDS Rest
> endpoint.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]