@Path(value="/cluster/{nodeId}/metrics")
@Produces(value="application/json")
public class ClusterNodeMetricsResource
extends ProxiedResource
ProxiedResource.CallResult<ResponseType>, ProxiedResource.MasterResponse<ResponseType>, ProxiedResource.NodeResponse<ResponseType>authenticationToken, nodeService, remoteInterfaceProviderconfiguration, userService| Constructor and Description |
|---|
ClusterNodeMetricsResource(NodeService nodeService,
RemoteInterfaceProvider remoteInterfaceProvider,
javax.ws.rs.core.HttpHeaders httpHeaders,
ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
MetricsSummaryResponse |
byNamespace(String nodeId,
String namespace) |
MetricNamesResponse |
metricNames(String nodeId) |
MetricsSummaryResponse |
multipleMetrics(String nodeId,
@Valid @NotNull MetricsReadRequest request) |
createRemoteInterfaceProvider, getForAllNodes, getForAllNodes, requestOnAllNodes, requestOnAllNodes, requestOnMastercheckAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public ClusterNodeMetricsResource(NodeService nodeService, RemoteInterfaceProvider remoteInterfaceProvider, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Named(value="proxiedRequestsExecutorService") ExecutorService executorService)
@GET @Timed @Path(value="/names") public MetricNamesResponse metricNames(@PathParam(value="nodeId") String nodeId) throws IOException, NodeNotFoundException
IOExceptionNodeNotFoundException@POST @Timed @Path(value="/multiple") public MetricsSummaryResponse multipleMetrics(@PathParam(value="nodeId") String nodeId, @Valid @NotNull @Valid @NotNull MetricsReadRequest request) throws IOException, NodeNotFoundException
IOExceptionNodeNotFoundException@GET
@Timed
@Path(value="/namespace/{namespace}")
public MetricsSummaryResponse byNamespace(@PathParam(value="nodeId")
String nodeId,
@PathParam(value="namespace")
String namespace)
throws IOException,
NodeNotFoundException
IOExceptionNodeNotFoundExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.