[
https://issues.apache.org/jira/browse/LENS-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575631#comment-14575631
]
Yash Sharma commented on LENS-477:
----------------------------------
Currently I am not able to view any data on the exposed endpoints. I get a
success 200 with Operational Menu options.
Is there any config to enable the endpoints ?
{quote}
----------------------------------------------------------------------------------------
$curl -i -H "Content-Type: application/text" http://localhost:9999/threads
$curl -i -H "Content-Type: application/text"
http://localhost:9999/metrics?pretty=true
----------------------------------------------------------------------------------------
HTTP/1.1 200 OK
Server: grizzly/2.3.6
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=ISO-8859-1
Date: Sat, 06 Jun 2015 07:45:00 GMT
Content-Length: 414
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Metrics</title>
</head>
<body>
<h1>Operational Menu</h1>
<ul>
<li><a href="/metrics?pretty=true">Metrics</a></li>
<li><a href="/ping">Ping</a></li>
<li><a href="/threads">Threads</a></li>
<li><a href="/healthcheck">Healthcheck</a></li>
</ul>
</body>
</html>
----------------------------------------------------------------------------------------
{quote}
> Lens service health status
> --------------------------
>
> Key: LENS-477
> URL: https://issues.apache.org/jira/browse/LENS-477
> Project: Apache Lens
> Issue Type: Improvement
> Components: server
> Reporter: Amareshwari Sriramadasu
> Assignee: Yash Sharma
> Priority: Critical
> Labels: newbie
> Fix For: 2.2
>
>
> We should provide a way to know LensService's health.
> Right now we have rest end points for /queryapi, /metastore which simply
> returns service is up or not. It is not much useful, for ex: QuerySubmitter
> has died on the server, there is no way to know.
> We have another end point exposed /admin/healthstatus - which is not
> implemented right now. we can use this to report more status about how each
> service doing - is anything down/ is it loaded and so on.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)