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
I implemented the monitor-aurora-with-grafana script as described without issue (all 4 steps in the CF stack were successful), however each lamda invocation includes this error:
[ERROR] InvalidArgumentException: An error occurred (InvalidArgumentException) when calling the GetResourceMetrics operation: This group is not a known group: db.application is not valid for current resourceTraceback (most recent call last): File "/var/task/lambda_function.py", line 33, in lambda_handler pi_response = get_db_resource_metrics(instance) File "/var/task/lambda_function.py", line 78, in get_db_resource_metrics response = pi_client.get_resource_metrics( File "/var/runtime/botocore/client.py", line 530, in _api_call return self._make_api_call(operation_name, kwargs) File "/var/runtime/botocore/client.py", line 960, in _make_api_call raise error_class(parsed_response, operation_name) | [ERROR] InvalidArgumentException: An error occurred (InvalidArgumentException) when calling the GetResourceMetrics operation: This group is not a known group: db.application is not valid for current resource Traceback (most recent call last): File "/var/task/lambda_function.py", line 33, in lambda_handler pi_response = get_db_resource_metrics(instance) File "/var/task/lambda_function.py", line 78, in get_db_resource_metrics response = pi_client.get_resource_metrics( File "/var/runtime/botocore/client.py", line 530, in _api_call return self._make_api_call(operation_name, kwargs) File "/var/runtime/botocore/client.py", line 960, in _make_api_call raise error_class(parsed_response, operation_name)
and no metrics are published to CloudWatch.
I have confirmed the region is correct, and we have multiple databases in this region with Performance Insights enabled.
The text was updated successfully, but these errors were encountered:
syndic8-joe
changed the title
Logs Insights Example Query
monitor-aurora-with-grafana - InvalidArgumentException
Nov 29, 2023
syndic8-joe
changed the title
monitor-aurora-with-grafana - InvalidArgumentException
InvalidArgumentException in monitor-aurora-with-grafana lamda
Nov 29, 2023
This is happening because the AWS Guide talk about Aurora PostgreSQL. We have a MySQL cluster and this is happening also for us, the above workaround works fine. You can however put the "db.sql_tokenized" metric again. That is correctly recognized
I implemented the
monitor-aurora-with-grafana
script as described without issue (all 4 steps in the CF stack were successful), however each lamda invocation includes this error:[ERROR] InvalidArgumentException: An error occurred (InvalidArgumentException) when calling the GetResourceMetrics operation: This group is not a known group: db.application is not valid for current resourceTraceback (most recent call last): File "/var/task/lambda_function.py", line 33, in lambda_handler pi_response = get_db_resource_metrics(instance) File "/var/task/lambda_function.py", line 78, in get_db_resource_metrics response = pi_client.get_resource_metrics( File "/var/runtime/botocore/client.py", line 530, in _api_call return self._make_api_call(operation_name, kwargs) File "/var/runtime/botocore/client.py", line 960, in _make_api_call raise error_class(parsed_response, operation_name) | [ERROR] InvalidArgumentException: An error occurred (InvalidArgumentException) when calling the GetResourceMetrics operation: This group is not a known group: db.application is not valid for current resource Traceback (most recent call last): File "/var/task/lambda_function.py", line 33, in lambda_handler pi_response = get_db_resource_metrics(instance) File "/var/task/lambda_function.py", line 78, in get_db_resource_metrics response = pi_client.get_resource_metrics( File "/var/runtime/botocore/client.py", line 530, in _api_call return self._make_api_call(operation_name, kwargs) File "/var/runtime/botocore/client.py", line 960, in _make_api_call raise error_class(parsed_response, operation_name)
and no metrics are published to CloudWatch.
I have confirmed the region is correct, and we have multiple databases in this region with Performance Insights enabled.
The text was updated successfully, but these errors were encountered: