Skip to content

Commit

Permalink
Revert "cloudwatch: Own job for Replication Metrics"
Browse files Browse the repository at this point in the history
This reverts commit 6c92319.
  • Loading branch information
Firefishy committed Oct 12, 2023
1 parent 6c92319 commit 15211cf
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions cookbooks/prometheus/templates/default/cloudwatch.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ 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 @@ -45,22 +46,14 @@ 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 @@ -154,6 +147,14 @@ 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 15211cf

Please sign in to comment.