Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Events entities #1443

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion entity-types/infra-awseventsrule/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ configuration:
entityExpirationTime: DAILY
alertable: true
goldenTags:
- aws.accountId
- aws.accountId
24 changes: 12 additions & 12 deletions entity-types/infra-awseventsrule/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
triggeredRules:
title: Triggered Rules
matchedEvents:
title: Matched Events
unit: COUNT
queries:
aws:
select: latest(aws.events.TriggeredRules)
select: latest(aws.events.MatchedEvents)
from: Metric
eventId: entity.guid
eventName: entity.name
matchedEvents:
title: Matched Events
triggeredRules:
title: Triggered Rules
unit: COUNT
queries:
aws:
select: latest(aws.events.MatchedEvents)
select: latest(aws.events.TriggeredRules)
from: Metric
eventId: entity.guid
eventName: entity.name
Expand All @@ -25,21 +25,21 @@ invocations:
from: Metric
eventId: entity.guid
eventName: entity.name
ingestionToInvocationCompleteLatency:
title: Ingestion To Invocation Complete Latency
ingestionToInvocationStartLatency:
title: Ingestion To Invocation Start Latency
unit: MS
queries:
aws:
select: latest(aws.events.IngestionToInvocationCompleteLatency)
select: latest(aws.events.IngestionToInvocationStartLatency)
from: Metric
eventId: entity.guid
eventName: entity.name
ingestionToInvocationStartLatency:
title: Ingestion To Invocation Start Latency
ingestionToInvocationCompleteLatency:
title: Ingestion To Invocation Complete Latency
unit: MS
queries:
aws:
select: latest(aws.events.IngestionToInvocationStartLatency)
select: latest(aws.events.IngestionToInvocationCompleteLatency)
from: Metric
eventId: entity.guid
eventName: entity.name
Expand Down
16 changes: 4 additions & 12 deletions entity-types/infra-awseventsrule/summary_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,19 @@ region:
unit: STRING
tag:
key: aws.awsRegion
triggeredRules:
goldenMetric: triggeredRules
title: Triggered Rules
unit: COUNT
matchedEvents:
goldenMetric: matchedEvents
title: Matched Events
unit: COUNT
triggeredRules:
goldenMetric: triggeredRules
title: Triggered Rules
unit: COUNT
invocations:
goldenMetric: invocations
title: Invocations
unit: COUNT
ingestionToInvocationCompleteLatency:
goldenMetric: ingestionToInvocationCompleteLatency
title: Ingestion To Invocation Complete Latency
unit: MS
ingestionToInvocationStartLatency:
goldenMetric: ingestionToInvocationStartLatency
title: Ingestion To Invocation Start Latency
unit: MS
failedInvocations:
goldenMetric: failedInvocations
title: Failed Invocations
unit: COUNT
7 changes: 7 additions & 0 deletions entity-types/infra-awseventsruleall/definition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
domain: INFRA
type: AWSEVENTSRULEALL
configuration:
entityExpirationTime: DAILY
alertable: true
goldenTags:
- aws.accountId
90 changes: 90 additions & 0 deletions entity-types/infra-awseventsruleall/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
invocationsCreated:
title: Invocations Created
unit: COUNT
queries:
aws:
select: latest(aws.events.InvocationsCreated)
from: Metric
eventId: entity.guid
eventName: entity.name
matchedEvents:
title: Matched Events
unit: COUNT
queries:
aws:
select: latest(aws.events.MatchedEvents)
from: Metric
eventId: entity.guid
eventName: entity.name
invocations:
title: Invocations
unit: COUNT
queries:
aws:
select: latest(aws.events.Invocations)
from: Metric
eventId: entity.guid
eventName: entity.name
triggeredRules:
title: Triggered Rules
unit: COUNT
queries:
aws:
select: latest(aws.events.TriggeredRules)
from: Metric
eventId: entity.guid
eventName: entity.name
ingestionToInvocationCompleteLatency:
title: Ingestion To Invocation Complete Latency
unit: MS
queries:
aws:
select: latest(aws.events.IngestionToInvocationCompleteLatency)
from: Metric
eventId: entity.guid
eventName: entity.name
invocationAttempts:
title: Invocation Attempts
unit: COUNT
queries:
aws:
select: latest(aws.events.InvocationAttempts)
from: Metric
eventId: entity.guid
eventName: entity.name
successfulInvocationAttempts:
title: Successful Invocation Attempts
unit: COUNT
queries:
aws:
select: latest(aws.events.SuccessfulInvocationAttempts)
from: Metric
eventId: entity.guid
eventName: entity.name
ingestionToInvocationStartLatency:
title: Ingestion To Invocation Start Latency
unit: MS
queries:
aws:
select: latest(aws.events.IngestionToInvocationStartLatency)
from: Metric
eventId: entity.guid
eventName: entity.name
failedInvocations:
title: Failed Invocations
unit: COUNT
queries:
aws:
select: latest(aws.events.FailedInvocations)
from: Metric
eventId: entity.guid
eventName: entity.name
putEventsRequestSize:
title: Put Events Request Size
unit: BYTES
queries:
aws:
select: latest(aws.events.PutEventsRequestSize)
from: Metric
eventId: entity.guid
eventName: entity.name
26 changes: 26 additions & 0 deletions entity-types/infra-awseventsruleall/summary_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
providerAccountName:
title: AWS account
unit: STRING
tag:
key: providerAccountName
region:
title: Region
unit: STRING
tag:
key: aws.awsRegion
invocationsCreated:
goldenMetric: invocationsCreated
title: Invocations Created
unit: COUNT
matchedEvents:
goldenMetric: matchedEvents
title: Matched Events
unit: COUNT
invocations:
goldenMetric: invocations
title: Invocations
unit: COUNT
triggeredRules:
goldenMetric: triggeredRules
title: Triggered Rules
unit: COUNT
Loading