Skip to content

Commit

Permalink
cloudwatch: Own job for Replication Metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Oct 12, 2023
1 parent 7e0c2e2 commit 6c92319
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions cookbooks/prometheus/templates/default/cloudwatch.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ discovery:
regions:
- eu-west-1
- eu-west-2
- eu-north-1
roles:
- roleArn: "arn:aws:iam::173189593406:role/osm-cloudwatch-export-role" # osm-main
period: 300
Expand Down Expand Up @@ -46,14 +45,22 @@ discovery:
statistics: [Minimum, Maximum, Average]
- name: TotalRequestLatency
statistics: [Minimum, Maximum, Average]
- name: OperationsFailedReplication
statistics: [Sum]
- type: AWS/S3
regions:
- eu-north-1
roles:
- roleArn: "arn:aws:iam::173189593406:role/osm-cloudwatch-export-role" # osm-main
period: 300
length: 300
metrics:
- name: ReplicationLatency
statistics: [Maximum]
- name: BytesPendingReplication
statistics: [Maximum]
- name: OperationsPendingReplication
statistics: [Maximum]
- name: OperationsFailedReplication
statistics: [Sum]
- type: AWS/S3
regions:
- eu-central-1
Expand Down Expand Up @@ -147,14 +154,6 @@ discovery:
statistics: [Minimum, Maximum, Average]
- name: TotalRequestLatency
statistics: [Minimum, Maximum, Average]
- name: ReplicationLatency
statistics: [Maximum]
- name: BytesPendingReplication
statistics: [Maximum]
- name: OperationsPendingReplication
statistics: [Maximum]
- name: OperationsFailedReplication
statistics: [Sum]
- type: AWS/EC2
regions:
- us-east-2
Expand Down

0 comments on commit 6c92319

Please sign in to comment.