@Extension public class MetricsRootAction extends Object implements hudson.model.UnprotectedRootAction
| Modifier and Type | Class and Description |
|---|---|
class |
MetricsRootAction.AccessKeyPseudoservlet |
class |
MetricsRootAction.CurrentUserPseudoservlet |
class |
MetricsRootAction.Pseudoservlet |
static class |
MetricsRootAction.Sampler |
| Modifier and Type | Field and Description |
|---|---|
static TimeUnit |
DURATION_UNIT |
static TimeUnit |
RATE_UNIT |
| Constructor and Description |
|---|
MetricsRootAction() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doHealthcheck(org.kohsuke.stapler.StaplerRequest req,
String key) |
org.kohsuke.stapler.HttpResponse |
doHealthcheckOk()
Condense the health check into one bit of information
for frontend reverse proxies like haproxy.
|
org.kohsuke.stapler.HttpResponse |
doMetrics(org.kohsuke.stapler.StaplerRequest req,
String key) |
org.kohsuke.stapler.HttpResponse |
doMetricsHistory(org.kohsuke.stapler.StaplerRequest req,
String key) |
org.kohsuke.stapler.HttpResponse |
doPing(org.kohsuke.stapler.StaplerRequest req,
String key) |
org.kohsuke.stapler.HttpResponse |
doThreads(org.kohsuke.stapler.StaplerRequest req,
String key) |
Object |
getCurrentUser() |
String |
getDisplayName() |
Object |
getDynamic(String key) |
String |
getIconFileName() |
String |
getUrlName() |
public static final TimeUnit RATE_UNIT
public static final TimeUnit DURATION_UNIT
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic Object getCurrentUser()
public org.kohsuke.stapler.HttpResponse doHealthcheck(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter(value="key")
String key)
throws IllegalAccessException
IllegalAccessExceptionpublic org.kohsuke.stapler.HttpResponse doHealthcheckOk()
public org.kohsuke.stapler.HttpResponse doMetrics(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter(value="key")
String key)
throws IllegalAccessException
IllegalAccessExceptionpublic org.kohsuke.stapler.HttpResponse doMetricsHistory(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter(value="key")
String key)
throws IllegalAccessException
IllegalAccessExceptionpublic org.kohsuke.stapler.HttpResponse doPing(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter(value="key")
String key)
throws IllegalAccessException
IllegalAccessExceptionpublic org.kohsuke.stapler.HttpResponse doThreads(org.kohsuke.stapler.StaplerRequest req,
@QueryParameter(value="key")
String key)
throws IllegalAccessException
IllegalAccessExceptionCopyright © 2004-2015. All Rights Reserved.