ApplicationInsights class

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.

Constructors

ApplicationInsights({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
createApplication({required String resourceGroupName, bool? cWEMonitorEnabled, bool? opsCenterEnabled, String? opsItemSNSTopicArn, List<Tag>? tags}) Future<CreateApplicationResponse>
Adds an application that is created from a resource group.
createComponent({required String componentName, required String resourceGroupName, required List<String> resourceList}) Future<void>
Creates a custom component by grouping similar standalone instances to monitor.
createLogPattern({required String pattern, required String patternName, required String patternSetName, required int rank, required String resourceGroupName}) Future<CreateLogPatternResponse>
Adds an log pattern to a LogPatternSet.
deleteApplication({required String resourceGroupName}) Future<void>
Removes the specified application from monitoring. Does not delete the application.
deleteComponent({required String componentName, required String resourceGroupName}) Future<void>
Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
deleteLogPattern({required String patternName, required String patternSetName, required String resourceGroupName}) Future<void>
Removes the specified log pattern from a LogPatternSet.
describeApplication({required String resourceGroupName}) Future<DescribeApplicationResponse>
Describes the application.
describeComponent({required String componentName, required String resourceGroupName}) Future<DescribeComponentResponse>
Describes a component and lists the resources that are grouped together in a component.
describeComponentConfiguration({required String componentName, required String resourceGroupName}) Future<DescribeComponentConfigurationResponse>
Describes the monitoring configuration of the component.
describeComponentConfigurationRecommendation({required String componentName, required String resourceGroupName, required Tier tier}) Future<DescribeComponentConfigurationRecommendationResponse>
Describes the recommended monitoring configuration of the component.
describeLogPattern({required String patternName, required String patternSetName, required String resourceGroupName}) Future<DescribeLogPatternResponse>
Describe a specific log pattern from a LogPatternSet.
describeObservation({required String observationId}) Future<DescribeObservationResponse>
Describes an anomaly or error with the application.
describeProblem({required String problemId}) Future<DescribeProblemResponse>
Describes an application problem.
describeProblemObservations({required String problemId}) Future<DescribeProblemObservationsResponse>
Describes the anomalies or errors associated with the problem.
listApplications({int? maxResults, String? nextToken}) Future<ListApplicationsResponse>
Lists the IDs of the applications that you are monitoring.
listComponents({required String resourceGroupName, int? maxResults, String? nextToken}) Future<ListComponentsResponse>
Lists the auto-grouped, standalone, and custom components of the application.
listConfigurationHistory({DateTime? endTime, ConfigurationEventStatus? eventStatus, int? maxResults, String? nextToken, String? resourceGroupName, DateTime? startTime}) Future<ListConfigurationHistoryResponse>
Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
listLogPatterns({required String resourceGroupName, int? maxResults, String? nextToken, String? patternSetName}) Future<ListLogPatternsResponse>
Lists the log patterns in the specific log LogPatternSet.
listLogPatternSets({required String resourceGroupName, int? maxResults, String? nextToken}) Future<ListLogPatternSetsResponse>
Lists the log pattern sets in the specific application.
listProblems({DateTime? endTime, int? maxResults, String? nextToken, String? resourceGroupName, DateTime? startTime}) Future<ListProblemsResponse>
Lists the problems with your application.
listTagsForResource({required String resourceARN}) Future<ListTagsForResourceResponse>
Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tagResource({required String resourceARN, required List<Tag> tags}) Future<void>
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
toString() String
A string representation of this object.
inherited
untagResource({required String resourceARN, required List<String> tagKeys}) Future<void>
Remove one or more tags (keys and values) from a specified application.
updateApplication({required String resourceGroupName, bool? cWEMonitorEnabled, bool? opsCenterEnabled, String? opsItemSNSTopicArn, bool? removeSNSTopic}) Future<UpdateApplicationResponse>
Updates the application.
updateComponent({required String componentName, required String resourceGroupName, String? newComponentName, List<String>? resourceList}) Future<void>
Updates the custom component name and/or the list of resources that make up the component.
updateComponentConfiguration({required String componentName, required String resourceGroupName, String? componentConfiguration, bool? monitor, Tier? tier}) Future<void>
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.
updateLogPattern({required String patternName, required String patternSetName, required String resourceGroupName, String? pattern, int? rank}) Future<UpdateLogPatternResponse>
Adds a log pattern to a LogPatternSet.

Operators

operator ==(Object other) bool
The equality operator.
inherited