You register your targets with a target group and each target group is used to route requests to one or more registered targets. By default, the load balancer sends requests to registered targets using the port and protocol that you specified for the target group. You can override this port when you register each target with the target group.

Use OpsRamp AWS Public Cloud Integration to discover and collect metrics against the AWS Target Group.

Setup

To set up the AWS integration and discover the Target Group resources, do the following:

  1. Create an AWS Integration if not available in your installed integrations. For more information on how to install the AWS Integration, refer to AWS Resources.

  2. Create a discovery profile. For more information on how to create a discovery profile, refer to Create Discovery Profile.

  3. Select Target Group under the Filter Criteria in the Edit Discovery Profile page.

    AWS Integration Discovery Profile

    AWS Integration Discovery Profile

  4. Save the discovery profile to make them available in the list of Discovery Profiles.

  5. Scan to discover the resources at any time independent of the predefined schedule.

  6. Once the scan is completed, you can view the Target Group resources under Infrastructure > Resources > AWS category.

  1. Create a template with collector type Google and applicable for Interconnect. See Create a Template for more information on how to create a template.
  2. Refer to Assign a Template on how to assign a template to a resource.
  3. Click the Metrics tab to view the monitoring data of the Target Group as shown below:

Event support

CloudTrail Event support

OpsRamp supports AWS Cloud trail events for the Target Group [CreateTargetGroup, DeleteTargetGroup]. Configure Stream CloudTrail messages in Opsramp AWS integration discovery profile.

CloudWatch Alarm support

OpsRamp supports AWS Cloud Watch Alarms for the Target Group.

Supported metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_targetgroup_BYoIPUtilPercentageBYoIPUtilPercentageB Yo IP Util PercentagePercentAverageThe percentage of usage from the IP pool.
aws_targetgroup_GrpcRequestCountGrpcRequestCountGrpc Request CountCountSumThe number of gRPC requests processed over IPv4 and IPv6.
aws_targetgroup_RequestCountRequestCountRequest CountCountSumThe number of requests processed over IPv4 and IPv6. This metric is only incremented for requests where the load balancer node was able to choose a target.
aws_targetgroup_AnomalousHostCountAnomalousHostCountAnomalous Host CountCountMaximumThe number of hosts detected with anomalies.
aws_targetgroup_HealthyHostCountHealthyHostCountHealthy Host CountCountAverageThe number of targets that are considered healthy.
aws_targetgroup_HTTPCode_Target_2XX_CountHTTPCode_Target_2XX_CountHTTPCode Target 2XX CountCountSumThe number of HTTP response codes generated by the targets.
aws_targetgroup_HTTPCode_Target_3XX_CountHTTPCode_Target_3XX_CountHTTPCode Target 3XX CountCountSumThe number of HTTP response codes generated by the targets.
aws_targetgroup_HTTPCode_Target_4XX_CountHTTPCode_Target_4XX_CountHTTPCode Target 4XX CountCountSumThe number of HTTP response codes generated by the targets.
aws_targetgroup_HTTPCode_Target_5XX_CountHTTPCode_Target_5XX_CountHTTPCode Target 5XX CountCountSumThe number of HTTP response codes generated by the targets.
aws_targetgroup_MitigatedHostCountMitigatedHostCountMitigated Host CountCountAverageThe number of targets under mitigation.
aws_targetgroup_RequestCountPerTargetRequestCountPerTargetRequest Count Per TargetCountSumThe average request count per target, in a target group.
aws_targetgroup_TargetConnectionErrorCountTargetConnectionErrorCountTarget Connection Error CountCountSumThe number of connections that were not successfully established between the load balancer and target.
aws_targetgroup_TargetResponseTimeTargetResponseTimeTarget Response TimeSecondsAverageThe time elapsed, in seconds, after the request leaves the load balancer until the target starts to send the response headers.
aws_targetgroup_TargetTLSNegotiationErrorCountTargetTLSNegotiationErrorCountTarget TLS Negotiation Error CountCountSumThe number of TLS connections initiated by the load balancer that did not establish a session with the target.
aws_targetgroup_UnHealthyHostCountUnHealthyHostCountUn Healthy Host CountCountAverageThe number of targets that are considered unhealthy.
aws_targetgroup_ZonalShiftedHostCountZonalShiftedHostCountZonal Shifted Host CountCountSumThe number of targets that are considered disabled due to zonal shift.
aws_targetgroup_HealthyStateDNSHealthyStateDNSHealthy State DNSCountMaximumThe number of zones that meet the DNS healthy state requirements.
aws_targetgroup_HealthyStateRoutingHealthyStateRoutingHealthy State RoutingCountMaximumThe number of zones that meet the routing healthy state requirements.
aws_targetgroup_UnhealthyRoutingRequestCountUnhealthyRoutingRequestCountUnhealthy Routing Request CountCountSumThe number of requests that are routed using the routing failover action (fail open).
aws_targetgroup_UnhealthyStateDNSUnhealthyStateDNSUnhealthy State DNSCountMinimumThe number of zones that do not meet the DNS healthy state requirements and therefore were marked unhealthy in DNS.
aws_targetgroup_UnhealthyStateRoutingUnhealthyStateRoutingUnhealthy State RoutingCountMinimumThe number of zones that do not meet the routing healthy state requirements, and therefore the load balancer distributes traffic to all targets in the zone, including the unhealthy targets.
aws_targetgroup_LambdaInternalErrorLambdaInternalErrorLambda Internal ErrorCountSumThe number of requests to a Lambda function that failed because of an issue internal to the load balancer or AWS Lambda.
aws_targetgroup_LambdaUserErrorLambdaUserErrorLambda User ErrorCountSumThe number of requests to a Lambda function that failed because of an issue with the Lambda function.
aws_targetgroup_ActiveZonalShiftHostCountActiveZonalShiftHostCountActive Zonal Shift Host CountCountMaximumThe number of targets that are actively participating in zonal shift currently.

External reference

Amazon Target Group