Learn R Programming

paws (version 0.1.12)

applicationinsights: Amazon CloudWatch Application Insights

Description

Amazon CloudWatch Application Insights is a service that helps you detect common problems with your applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.

After you onboard your application, CloudWatch Application Insights identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors.

Usage

applicationinsights(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- applicationinsights(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

create_applicationAdds an application that is created from a resource group
create_componentCreates a custom component by grouping similar standalone instances to monitor
create_log_patternAdds an log pattern to a LogPatternSet
delete_applicationRemoves the specified application from monitoring
delete_componentUngroups a custom component
delete_log_patternRemoves the specified log pattern from a LogPatternSet
describe_applicationDescribes the application
describe_componentDescribes a component and lists the resources that are grouped together in a component
describe_component_configurationDescribes the monitoring configuration of the component
describe_component_configuration_recommendationDescribes the recommended monitoring configuration of the component
describe_log_patternDescribe a specific log pattern from a LogPatternSet
describe_observationDescribes an anomaly or error with the application
describe_problemDescribes an application problem
describe_problem_observationsDescribes the anomalies or errors associated with the problem
list_applicationsLists the IDs of the applications that you are monitoring
list_componentsLists the auto-grouped, standalone, and custom components of the application
list_configuration_historyLists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights
list_log_patternsLists the log patterns in the specific log LogPatternSet
list_log_pattern_setsLists the log pattern sets in the specific application
list_problemsLists the problems with your application
list_tags_for_resourceRetrieve a list of the tags (keys and values) that are associated with a specified application
tag_resourceAdd one or more tags (keys and values) to a specified application
untag_resourceRemove one or more tags (keys and values) from a specified application
update_applicationUpdates the application
update_componentUpdates the custom component name and/or the list of resources that make up the component
update_component_configurationUpdates the monitoring configurations for the component
update_log_patternAdds a log pattern to a LogPatternSet

Examples

Run this code
if (FALSE) {
svc <- applicationinsights()
svc$create_application(
  Foo = 123
)
}

Run the code above in your browser using DataLab