This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-03-05T19:17:01.381000 <--- Loaded 5 messages | |
2023-03-05T19:17:01.381000 xxx> 1 | |
2023-03-05T19:17:01.381000 ---> 2 | |
2023-03-05T19:17:01.381000 xxx> 3 | |
2023-03-05T19:17:01.381000 xxx> 4 | |
2023-03-05T19:17:01.381000 ---> 5 | |
2023-03-05T19:17:06.405000 <--- Loaded 7 messages | |
2023-03-05T19:17:06.405000 ---> 1 | |
2023-03-05T19:17:06.405000 ---> 3 | |
2023-03-05T19:17:06.405000 xxx> 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: core-api-errors-sampling-policy | |
type: and | |
and: | |
and_sub_policy: | |
- name: error-policy | |
type: status_code | |
status_code: | |
status_codes: | |
- "ERROR" | |
- name: probabilistic-policy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metrics": [ | |
[ { "expression": "pricestorage+(ecpus/1000000*0.0038)", "label": "Serverless Elasticache Pricing", "id": "price", "yAxis": "right" } ], | |
[ { "expression": "SUM(METRICS())/1000", "label": "ECPus", "id": "ecpus" } ], | |
[ { "expression": "$YOUR_CLUSTER_GB_SIZE*0.14*24*30", "label": "PriceStorage", "id": "pricestorage", "yAxis": "right", "visible": false } ], | |
[ "AWS/ElastiCache", "NetworkBytesOut", "CacheClusterId", "$YOUR_CLUSTER_NAME-001", "CacheNodeId", "0001", { "region": "$YOUR_REGION", "id": "m1", "visible": false } ], | |
[ "...", "$YOUR_CLUSTER_NAME-002", ".", ".", { "region": "$YOUR_REGION", "id": "m2", "visible": false } ], | |
[ "...", "$YOUR_CLUSTER_NAME-003", ".", ".", { "region": "$YOUR_REGION", "id": "m3", "visible": false } ], | |
[ ".", "NetworkBytesIn", ".", "$YOUR_CLUSTER_NAME-001", ".", ".", { "region": "$YOUR_REGION", "id": "m4", "visible": false } ], | |
[ "...", "$YOUR_CLUSTER_NAME-002", ".", ".", { "region": "$YOUR_REGION", " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: | |
- AWS::LanguageExtensions | |
- AWS::Serverless-2016-10-31 | |
Description: SAM Template for CbEventSourceManager | |
Parameters: | |
Project: | |
Type: String | |
ProjectGroup: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package handler | |
import ( | |
"context" | |
"fmt" | |
"github.com/Ryanair/gofrlib/log" | |
"github.com/aws/aws-sdk-go-v2/aws" | |
"github.com/aws/aws-sdk-go-v2/service/lambda" | |
"github.com/aws/aws-sdk-go-v2/service/lambda/types" | |
"github.com/pkg/errors" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: | |
- AWS::LanguageExtensions | |
- AWS::Serverless-2016-10-31 | |
Description: SAM Template for CbEventSourceManager | |
Parameters: | |
CircuitBreakerAlarmArn: | |
Description: Alarm that is base for the circuit breaker | |
Type: String |
OlderNewer