Skip to content

Commit

Permalink
AWS ECR (#1436)
Browse files Browse the repository at this point in the history
Co-authored-by: rodolfocal <[email protected]>
  • Loading branch information
morecar and rodolfocal authored Feb 14, 2024
1 parent 57bfaab commit a774d6f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infra-awsecrrepository/definition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
domain: INFRA
type: AWSECRREPOSITORY
configuration:
entityExpirationTime: DAILY
alertable: true
goldenTags:
- aws.accountId
9 changes: 9 additions & 0 deletions infra-awsecrrepository/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repositoryPullCount:
title: Repository Pull Count
unit: COUNT
queries:
aws:
select: latest(aws.ecr.RepositoryPullCount)
from: Metric
eventId: entity.guid
eventName: entity.name
14 changes: 14 additions & 0 deletions infra-awsecrrepository/summary_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
providerAccountName:
title: AWS account
unit: STRING
tag:
key: providerAccountName
region:
title: Region
unit: STRING
tag:
key: aws.awsRegion
repositoryPullCount:
goldenMetric: repositoryPullCount
title: Repository Pull Count
unit: COUNT

0 comments on commit a774d6f

Please sign in to comment.