You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/metrics/prometheus/index.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,19 +41,20 @@ Following metrics are added:
41
41
|------|------|-------------|
42
42
| aws_api_calls_total | Counter | Total number of SDK API calls from the customer's code to AWS services |
43
43
| aws_api_call_duration_seconds | Histogram | Perceived latency from when your code makes an SDK call, includes retries |
44
-
| aws_api_call_call_retries | Counter | Number of times the SDK retried requests to AWS services for SDK API calls |
45
-
| aws_api_requests_total | Counter | Total number of HTTP requests that the SDK made |
44
+
| aws_api_call_call_retries | Counter | Number of times the SDK retried requests to AWS services for SDK API calls |
45
+
| aws_api_requests_total | Counter | Total number of HTTP requests that the SDK made |
46
46
| aws_request_duration_seconds | Histogram | Latency of an individual HTTP request to the service endpoint |
47
-
| api_call_permission_errors_total | Counter | Number of failed AWS API calls due to auth or authorization failures |
48
-
| api_call_service_limit_exceeded_errors_total | Counter | Number of failed AWS API calls due to exceeding service limit |
49
-
| api_call_throttled_errors_total | Counter| Number of failed AWS API calls due to throttling error |
50
-
| api_call_validation_errors_total | Counter | Number of failed AWS API calls due to validation error |
47
+
| api_call_permission_errors_total | Counter | Number of failed AWS API calls due to auth or authorization failures |
48
+
| api_call_service_limit_exceeded_errors_total | Counter | Number of failed AWS API calls due to exceeding service limit |
49
+
| api_call_throttled_errors_total | Counter | Number of failed AWS API calls due to throttling error |
50
+
| api_call_validation_errors_total | Counter | Number of failed AWS API calls due to validation error |
51
+
| aws_target_group_info | Gauge | Information about target group |
51
52
| awslbc_readiness_gate_ready_seconds | Histogram | Time to flip a readiness gate to true |
52
53
| awslbc_reconcile_stage_duration | Histogram | Latency of different reconcile stages |
53
-
| awslbc_reconcile_errors_total | Counter | Number of controller errors by error type |
54
-
| awslbc_webhook_validation_failures_total | Counter | Number of validation errors by webhook type |
55
-
| awslbc_webhook_mutation_failures_total | Counter | Number of mutation errors by webhook type |
56
-
| awslbc_top_talkers | Gauge | Number of reconciliations by resource |
54
+
| awslbc_reconcile_errors_total | Counter | Number of controller errors by error type |
55
+
| awslbc_webhook_validation_failures_total | Counter | Number of validation errors by webhook type |
56
+
| awslbc_webhook_mutation_failures_total | Counter | Number of mutation errors by webhook type |
57
+
| awslbc_top_talkers | Gauge | Number of reconciliations by resource |
57
58
58
59
59
60
## Accessing and Querying the Metrics in Prometheus UI
@@ -70,7 +71,7 @@ Once inside the Prometheus UI, you can use PromQL queries. Here are some example
70
71
* Get the total reconcile count : `sum(awslbc_controller_reconcile_errors_total)`
71
72
* Get the average reconcile duration for stage : `avg(awslbc_controller_reconcile_stage_duration_sum{controller="service", reconcile_stage="DNS_resolve"})`
72
73
* Get the cached object: `sum(awslbc_cache_object_total)`
73
-
74
+
* Enrich metrics with information about target group: `aws_target_group_info * on(target_group) group_left last_over_time(aws_applicationelb_healthy_host_count_minimum[20m])`
0 commit comments