|
369 | 369 | }
|
370 | 370 | },
|
371 | 371 | "tests/aws/services/cloudwatch/test_cloudwatch.py::TestCloudwatch::test_put_metric_alarm": {
|
372 |
| - "recorded-date": "19-01-2024, 13:46:30", |
| 372 | + "recorded-date": "12-05-2025, 16:20:57", |
373 | 373 | "recorded-content": {
|
374 | 374 | "describe-alarm": {
|
375 | 375 | "CompositeAlarms": [],
|
|
397 | 397 | "OKActions": [
|
398 | 398 | "arn:<partition>:sns:<region>:111111111111:<topic_arn>"
|
399 | 399 | ],
|
400 |
| - "Period": 30, |
| 400 | + "Period": 10, |
401 | 401 | "StateReason": "Unchecked: Initial alarm creation",
|
402 | 402 | "StateTransitionedTimestamp": "timestamp",
|
403 | 403 | "StateUpdatedTimestamp": "timestamp",
|
404 | 404 | "StateValue": "INSUFFICIENT_DATA",
|
405 | 405 | "Statistic": "Average",
|
406 |
| - "Threshold": 2.0, |
| 406 | + "Threshold": 21.0, |
407 | 407 | "TreatMissingData": "ignore",
|
408 | 408 | "Unit": "Seconds"
|
409 | 409 | }
|
|
423 | 423 | "AlarmDescription": "testing cloudwatch alarms",
|
424 | 424 | "AlarmName": "<alarm-name:1>",
|
425 | 425 | "InsufficientDataActions": [],
|
426 |
| - "NewStateReason": "Threshold Crossed: 1 datapoint [21.5 (MM/DD/YY HH:MM:SS)] was greater than the threshold (2.0).", |
| 426 | + "NewStateReason": "Threshold Crossed: 1 datapoint [21.5 (MM/DD/YY HH:MM:SS)] was greater than the threshold (21.0).", |
427 | 427 | "NewStateValue": "ALARM",
|
428 | 428 | "OKActions": [
|
429 | 429 | "arn:<partition>:sns:<region>:111111111111:<topic_arn>"
|
|
443 | 443 | "EvaluationPeriods": 1,
|
444 | 444 | "MetricName": "my-metric1",
|
445 | 445 | "Namespace": "<namespace:1>",
|
446 |
| - "Period": 30, |
| 446 | + "Period": 10, |
447 | 447 | "Statistic": "AVERAGE",
|
448 | 448 | "StatisticType": "Statistic",
|
449 |
| - "Threshold": 2.0, |
| 449 | + "Threshold": 21.0, |
450 | 450 | "TreatMissingData": "ignore",
|
451 | 451 | "Unit": "Seconds"
|
452 | 452 | }
|
|
464 | 464 | },
|
465 | 465 | "newState": {
|
466 | 466 | "stateValue": "ALARM",
|
467 |
| - "stateReason": "Threshold Crossed: 1 datapoint [21.5 (MM/DD/YY HH:MM:SS)] was greater than the threshold (2.0).", |
| 467 | + "stateReason": "Threshold Crossed: 1 datapoint [21.5 (MM/DD/YY HH:MM:SS)] was greater than the threshold (21.0).", |
468 | 468 | "stateReasonData": {
|
469 | 469 | "version": "1.0",
|
470 | 470 | "queryDate": "date",
|
471 | 471 | "startDate": "date",
|
472 | 472 | "unit": "Seconds",
|
473 | 473 | "statistic": "Average",
|
474 |
| - "period": 30, |
| 474 | + "period": 10, |
475 | 475 | "recentDatapoints": [
|
476 | 476 | 21.5
|
477 | 477 | ],
|
478 |
| - "threshold": 2.0, |
| 478 | + "threshold": 21.0, |
479 | 479 | "evaluatedDatapoints": [
|
480 | 480 | {
|
481 | 481 | "timestamp": "date",
|
|
521 | 521 | "OKActions": [
|
522 | 522 | "arn:<partition>:sns:<region>:111111111111:<topic_arn>"
|
523 | 523 | ],
|
524 |
| - "Period": 30, |
525 |
| - "StateReason": "Threshold Crossed: 1 datapoint [21.5 (MM/DD/YY HH:MM:SS)] was greater than the threshold (2.0).", |
| 524 | + "Period": 10, |
| 525 | + "StateReason": "Threshold Crossed: 1 datapoint [21.5 (MM/DD/YY HH:MM:SS)] was greater than the threshold (21.0).", |
526 | 526 | "StateReasonData": {
|
527 | 527 | "version": "1.0",
|
528 | 528 | "queryDate": "date",
|
529 | 529 | "startDate": "date",
|
530 | 530 | "unit": "Seconds",
|
531 | 531 | "statistic": "Average",
|
532 |
| - "period": 30, |
| 532 | + "period": 10, |
533 | 533 | "recentDatapoints": [
|
534 | 534 | 21.5
|
535 | 535 | ],
|
536 |
| - "threshold": 2.0, |
| 536 | + "threshold": 21.0, |
537 | 537 | "evaluatedDatapoints": [
|
538 | 538 | {
|
539 | 539 | "timestamp": "date",
|
|
546 | 546 | "StateUpdatedTimestamp": "timestamp",
|
547 | 547 | "StateValue": "ALARM",
|
548 | 548 | "Statistic": "Average",
|
549 |
| - "Threshold": 2.0, |
| 549 | + "Threshold": 21.0, |
550 | 550 | "TreatMissingData": "ignore",
|
551 | 551 | "Unit": "Seconds"
|
552 | 552 | }
|
|
0 commit comments