@InterfaceAudience.Private public class PrometheusHadoopServlet extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
private static Pattern |
SPLIT_PATTERN |
Constructor and Description |
---|
PrometheusHadoopServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
(package private) static String |
toPrometheusName(String metricRecordName,
String metricName) |
(package private) void |
writeMetrics(Writer writer,
boolean descriptionEnabled,
String queryParam) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
private static final Pattern SPLIT_PATTERN
public PrometheusHadoopServlet()
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
doGet
in class javax.servlet.http.HttpServlet
IOException
static String toPrometheusName(String metricRecordName, String metricName)
void writeMetrics(Writer writer, boolean descriptionEnabled, String queryParam) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.