public class NewRelicApi extends NewRelicClient
Modifier and Type | Class and Description |
---|---|
static class |
NewRelicApi.Builder
Builder to make NewRelicApi construction easier.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HOST
The default hostname for New Relic RPM.
|
DEFAULT_PORT, httpContext, provider
Constructor and Description |
---|
NewRelicApi()
Default constructor.
|
NewRelicApi(String hostname,
int port,
HttpClientProvider provider)
Constructor that takes a hostname, port and provider.
|
Modifier and Type | Method and Description |
---|---|
AlertChannelService |
alertChannels()
Returns the operations related to alert channels.
|
AlertConditionService |
alertConditions()
Returns the operations related to APM alert conditions.
|
AlertEntityConditionService |
alertEntityConditions()
Returns the operations related to APM alert entity conditions.
|
AlertEventService |
alertEvents()
Returns the operations related to alert events.
|
AlertIncidentService |
alertIncidents()
Returns the operations related to alert incidents.
|
AlertPolicyService |
alertPolicies()
Returns the operations related to alert policies.
|
AlertPolicyChannelService |
alertPolicyChannels()
Returns the operations related to alert policy channels.
|
AlertViolationService |
alertViolations()
Returns the operations related to alert violations.
|
ApplicationHostService |
applicationHosts()
Returns the operations related to application hosts.
|
ApplicationInstanceService |
applicationInstances()
Returns the operations related to application instances.
|
ApplicationService |
applications()
Returns the operations related to applications.
|
BrowserApplicationService |
browserApplications()
Returns the operations related to Browser applications.
|
static NewRelicApi.Builder |
builder()
Returns a builder for the NewRelicApi.
|
DashboardService |
dashboards()
Returns the operations related to dashboards.
|
DeploymentService |
deployments()
Returns the operations related to deployments.
|
ExternalServiceAlertConditionService |
externalServiceAlertConditions()
Returns the operations related to external service alert conditions.
|
KeyTransactionService |
keyTransactions()
Returns the operations related to key transactions.
|
LabelService |
labels()
Returns the operations related to labels.
|
MobileApplicationService |
mobileApplications()
Returns the operations related to Mobile applications.
|
NrqlAlertConditionService |
nrqlAlertConditions()
Returns the operations related to NRQL alert conditions.
|
PluginComponentService |
pluginComponents()
Returns the operations related to plugin components.
|
PluginService |
plugins()
Returns the operations related to plugins.
|
PluginsAlertConditionService |
pluginsAlertConditions()
Returns the operations related to Plugins alert conditions.
|
ServerService |
servers()
Returns the operations related to servers.
|
void |
setHostname(String hostname)
Sets the name of the host to connect to.
|
SyntheticsAlertConditionService |
syntheticsAlertConditions()
Returns the operations related to Synthetics alert conditions.
|
UsageService |
usages()
Returns the operations related to usages.
|
UserService |
users()
Returns the operations related to users.
|
checkInitialize, getHttpContext, getUriPrefix, handleErrors, initialize, setHandleErrors, setHttpClientProvider, setPort
public static final String DEFAULT_HOST
public NewRelicApi()
public NewRelicApi(String hostname, int port, HttpClientProvider provider)
hostname
- The hostname of the serverport
- The port of the serverprovider
- The HTTP client providerpublic void setHostname(String hostname)
The default hostname is "api.newrelic.com".
setHostname
in class NewRelicClient
hostname
- The name of the hostpublic AlertPolicyService alertPolicies()
public AlertConditionService alertConditions()
public AlertEntityConditionService alertEntityConditions()
public NrqlAlertConditionService nrqlAlertConditions()
public ExternalServiceAlertConditionService externalServiceAlertConditions()
public PluginsAlertConditionService pluginsAlertConditions()
public SyntheticsAlertConditionService syntheticsAlertConditions()
public AlertChannelService alertChannels()
public AlertPolicyChannelService alertPolicyChannels()
public AlertIncidentService alertIncidents()
public AlertViolationService alertViolations()
public AlertEventService alertEvents()
public ApplicationService applications()
public ApplicationHostService applicationHosts()
public ApplicationInstanceService applicationInstances()
public BrowserApplicationService browserApplications()
public MobileApplicationService mobileApplications()
public KeyTransactionService keyTransactions()
public PluginService plugins()
public PluginComponentService pluginComponents()
public ServerService servers()
public DeploymentService deployments()
public LabelService labels()
public UserService users()
public UsageService usages()
public DashboardService dashboards()
public static NewRelicApi.Builder builder()
Copyright © 2018. All rights reserved.