Visualizar notificações - DevOps Guru da Amazon

As traduções são geradas por tradução automática. Em caso de conflito entre o conteúdo da tradução e da versão original em inglês, a versão em inglês prevalecerá.

Visualizar notificações

Existem diferentes tipos de notificações no DevOps Guru.

As seções nesta página mostram exemplos de cada tipo de notificação.

Novo insight

As notificações de novos insights contêm as seguintes informações:

{ "accountId":"123456789101", "region":"eu-west-1", "messageType":"NEW_INSIGHT", "insightId":"a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", "insightName": "Repeated Insight: ApiGateway 5XXError Anomalous In Application CanaryCommonResources-123456789101-LogAnomaly-4", "insightUrl":"https://eu-west-1.console.aws.amazon.com/devops-guru/insight/reactive/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", "insightType":"REACTIVE", "insightDescription":"DevOps Guru has detected this is a repeated insight. DevOps Guru treats repeated insights as 'Low Severity'.", "insightSeverity":"medium", "startTime": 1680148920000, "startTimeISO": "2023-03-30T04:02:00Z", "anomalies":[ { "id":"a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "startTime": 1680148800000, "startTimeISO": "2023-03-30T04:00:00Z", "openTime": 1680148920000, "openTimeISO": "2023-03-30T04:02:00Z", "sourceDetails":[ { "dataSource":"CW_METRICS", "dataIdentifiers":{ "name":"ApproximateAgeOfOldestMessage", "namespace":"AWS/SQS", "period":"60", "stat":"Maximum", "unit":"None", "dimensions":"{\"QueueName\":\"SampleQueue\"}" } } ], "associatedResourceArns":[ "arn:aws:sqs:eu-west-1:123456789101:SampleQueue" ] } ], "resourceCollection":{ "cloudFormation":{ "stackNames":[ "SampleApplication" ] }, } }

Insight fechado

As notificações de insights fechados contêm as seguintes informações:

{ "accountId":"123456789101", "region":"us-east-1", "messageType":"CLOSED_INSIGHT", "insightId":"a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", "insightName": "DynamoDB table writes are under utilized in mock-stack", "insightUrl":"https://us-east-1.console.aws.amazon.com/devops-guru/insight/proactive/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", "insightType":"PROACTIVE", "insightDescription":"DynamoDB table writes are under utilized", "insightSeverity":"medium", "startTime": 1670612400000, "startTimeISO": "2022-12-09T19:00:00Z", "endTime": 1679994000000, "endTimeISO": "2023-03-28T09:00:00Z", "anomalies":[ { "id":"a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa", "startTime": 1665428400000, "startTimeISO": "2022-10-10T19:00:00Z", "endTime": 1679986800000, "endTimeISO": "2023-03-28T07:00:00Z", "openTime": 1670612400000, "openTimeISO": "2022-12-09T19:00:00Z", "closeTime": 1679994000000, "closeTimeISO": "2023-03-28T09:00:00Z", "description":"Empty receives while messages are available", "anomalyResources":[ { "type":"AWS::SQS::Queue", "name":"SampleQueue" } ], "sourceDetails":[ { "dataSource":"CW_METRICS", "dataIdentifiers":{ "name":"NumberOfEmptyReceives", "namespace":"AWS/SQS", "period":"60", "stat":"Sum", "unit":"COUNT", "dimensions":"{\"QueueName\":\"SampleQueue\"}" } } ], "associatedResourceArn": [ "arn:aws:sqs:us-east-1:123456789101:SampleQueue" ] } ], "resourceCollection":{ "cloudFormation":{ "stackNames":[ "SampleApplication" ] } } }

Nova associação

As notificações de novas associações contêm as seguintes informações:

{ "accountId":"123456789101", "region":"eu-west-1", "messageType":"NEW_ASSOCIATION", "insightId":"a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", "insightName": "Repeated Insight: Anomalous increase in Lambda ApigwLambdaDdbStack-22-GetOneFunction duration due to increased number of invocations", "insightUrl":"https://eu-west-1.console.aws.amazon.com/devops-guru/insight/reactive/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", "insightType":"REACTIVE", "insightDescription":"At March 29, 2023 22:02 GMT, Lambda function ApigwLambdaDdbStack-22-GetOneFunction had\nan increased duration anomaly possibly caused by the Lambda function invocation increase. DevOps Guru has detected this is a repeated insight. DevOps Guru treats repeated insights as 'Low Severity'.", "insightSeverity":"medium", "startTime": 1680127200000, "startTimeISO": "2023-03-29T22:00:00Z", "anomalies":[ { "id":"a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "startTime":1672945500000, "startTimeISO": "2023-03-29T22:00:00Z", "openTime": 1680127740000, "openTimeISO": "2023-03-29T22:09:00Z", "sourceDetails":[ { "dataSource":"CW_METRICS", "dataIdentifiers":{ "namespace":"AWS/SQS", "name":"ApproximateAgeOfOldestMessage", "stat":"Maximum", "unit":"None", "period":"60", "dimensions":"{\"QueueName\":\"SampleQueue\"}" } } ], "associatedResourceArns":[ "arn:aws:sqs:eu-west-1:123456789101:SampleQueue" ] } ], "resourceCollection":{ "cloudFormation":{ "stackNames":[ "SampleApplication" ] } } }

Nova recomendação

As notificações de novas recomendações contêm as seguintes informações:

{ "accountId":"123456789101", "region":"us-east-1", "messageType":"NEW_RECOMMENDATION", "insightId":"a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", "insightName": "Recreation of AWS SDK Service Clients", "insightUrl":"https://us-east-1.console.aws.amazon.com/devops-guru/insight/proactive/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", "insightType":"PROACTIVE", "insightDescription": "Usually for a given service you can create one [AWS SDK service client](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/creating-clients.html) and reuse that client across your entire service.\n\nWhen instead you create a new AWS SDK service client for each call (e.g. for DynamoDB) it\u0027s generally a waste of CPU time.", "insightSeverity":"medium", "startTime": 1680125893576, "startTimeISO": "2023-03-29T21:38:13.576Z", "recommendations":[ { "name":"Tune Availability Zones of your Lambda Function", "description":"Based on your configurations, we recommend that you set SampleFunction to be deployed in at least 3 Availability Zones to maintain Multi Availability Zone Redundancy.", "reason":"Lambda Function SampleFunction is currently only deployed to 2 unique Availability zones in a region with 7 total Availability zones.", "link":"https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html", "relatedAnomalies":[ { "sourceDetails":{ "cloudWatchMetrics":null }, "resources":[ { "name":"SampleFunction", "type":"AWS::Lambda::Function" } ], "associatedResourceArns": [ "arn:aws:lambda:arn:123456789101:SampleFunction" ] } ] } ], "resourceCollection": { "cloudFormation": { "stackNames":[ "SampleApplication" ] } } }

Gravidade atualizada

As notificações de atualizações de gravidade contêm as seguintes informações:

{ "accountId":"123456789101", "region":"eu-west-1", "messageType":"SEVERITY_UPGRADED", "insightId":"a1b2c3d4-5678-90ab-cdef-EXAMPLEbbbbb", "insightName": "Repeated Insight: ApiGateway 5XXError Anomalous In Application CanaryCommonResources-123456789101-LogAnomaly-11", "insightUrl":"https://eu-west-1.console.aws.amazon.com/devops-guru/insight/reactive/a1b2c3d4-5678-90ab-cdef-EXAMPLEbbbbb", "insightType":"REACTIVE", "insightDescription": "DevOps Guru has detected this is a repeated insight. DevOps Guru will treat future occurrences of this insight as 'Low Severity' for the next 7 days.", "insightSeverity":"high", "startTime": 1680127320000, "startTimeISO": "2023-03-29T22:02:00Z", "resourceCollection":{ "cloudFormation":{ "stackNames":[ "SampleApplication" ] } } }

Falha na validação de recursos

Você pode usar AWS CloudFormation pilhas e AWS tags para filtrar e identificar os AWS recursos que você deseja que o DevOps Guru analise. Quando você escolhe uma pilha ou tag inválida para o DevOps Guru identificar recursos, o DevOps Guru cria uma notificação. SELECTED_RESOURCE_FILTER_VALIDATION_FAILURE Isso pode acontecer quando a tag ou o nome da pilha que você especifica não tem recursos associados a ela. Para aproveitar ao máximo os métodos de filtragem do DevOps Guru, escolha pilhas e tags que tenham recursos associados a elas.

{ "accountId":"123456789101", "region":"eu-west-1", "messageType":"SELECTED_RESOURCE_FILTER_VALIDATION_FAILURE", "ResourceFilterType": "Tags", "InvalidResourceNames": [ "Devops-Guru-tag-key-tag-value" ], "awsInsightSource": "aws.devopsguru" }