-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add golden tags and metrics for kinesis analytics (#68)
* Add golden tags and metrics for kinesis analytics * Remove spurious facet * Add provider account to summary tags * Remove units from golden metrics
- Loading branch information
Showing
6 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
definitions/infra-awskinesisanalyticsapplication/definition.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
domain: INFRA | ||
type: AWSKINESISANALYTICSAPPLICATION | ||
goldenTags: | ||
- aws.accountId | ||
- aws.availabilityZone | ||
- aws.awsRegion | ||
compositeMetrics: | ||
goldenMetrics: | ||
- golden_metrics.yml | ||
summaryMetrics: | ||
- summary_metrics.yml |
40 changes: 40 additions & 0 deletions
40
definitions/infra-awskinesisanalyticsapplication/golden_metrics.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
millisBehindLatest: | ||
title: Processing lag (Seconds) | ||
query: | ||
select: average(provider.millisBehindLatest.Average) * 1000 | ||
from: AwsKinesisAnalyticsApplicationSample | ||
where: provider='AwsKinesisAnalyticsApplication' | ||
facet: entityName | ||
eventId: entityGuid | ||
bytesConsumedRate: | ||
title: Consumed bytes (Bytes per sec) | ||
query: | ||
select: average(provider.bytesConsumedRate.Average) | ||
from: AwsKinesisAnalyticsApplicationSample | ||
where: provider='AwsKinesisAnalyticsApplication' | ||
facet: entityName | ||
eventId: entityGuid | ||
numRecordsIn: | ||
title: Number of received records | ||
query: | ||
select: average(provider.numRecordsIn.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
facet: entityName | ||
eventId: entityGuid | ||
numRecordsOut: | ||
title: Number of emitted records | ||
query: | ||
select: average(provider.numRecordsOut.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
facet: entityName | ||
eventId: entityGuid | ||
recordsLagMax: | ||
title: Maximum lag | ||
query: | ||
select: max(provider.recordsLagMax.Maximum) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
facet: entityName | ||
eventId: entityGuid |
45 changes: 45 additions & 0 deletions
45
definitions/infra-awskinesisanalyticsapplication/summary_metrics.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
providerAccountName: | ||
tag: | ||
key: providerAccountName | ||
title: AWS Account | ||
unit: STRING | ||
millisBehindLatest: | ||
title: Processing lag | ||
query: | ||
select: average(provider.millisBehindLatest.Average) * 1000 | ||
from: AwsKinesisAnalyticsApplicationSample | ||
where: provider='AwsKinesisAnalyticsApplication' | ||
eventId: entityGuid | ||
unit: SECONDS | ||
bytesConsumedRate: | ||
title: Consumed bytes | ||
query: | ||
select: average(provider.bytesConsumedRate.Average) | ||
from: AwsKinesisAnalyticsApplicationSample | ||
where: provider='AwsKinesisAnalyticsApplication' | ||
eventId: entityGuid | ||
unit: BYTES_PER_SECOND | ||
numRecordsIn: | ||
title: Number of received records | ||
query: | ||
select: average(provider.numRecordsIn.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
eventId: entityGuid | ||
unit: COUNT | ||
numRecordsOut: | ||
title: Number of emitted records | ||
query: | ||
select: average(provider.numRecordsOut.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
eventId: entityGuid | ||
unit: COUNT | ||
recordsLagMax: | ||
title: Maximum lag | ||
query: | ||
select: max(provider.recordsLagMax.Maximum) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
eventId: entityGuid | ||
unit: COUNT |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
domain: INFRA | ||
type: AWSKINESISANALYTICSTASK | ||
goldenTags: | ||
- aws.accountId | ||
- aws.availabilityZone | ||
- aws.awsRegion | ||
compositeMetrics: | ||
goldenMetrics: | ||
- golden_metrics.yml | ||
summaryMetrics: | ||
- summary_metrics.yml |
24 changes: 24 additions & 0 deletions
24
definitions/infra-awskinesisanalyticstask/golden_metrics.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
numRecordsIn: | ||
title: Number of received records | ||
query: | ||
select: average(provider.numRecordsIn.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
facet: entityName | ||
eventId: entityGuid | ||
numRecordsOut: | ||
title: Number of emitted records | ||
query: | ||
select: average(provider.numRecordsOut.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
facet: entityName | ||
eventId: entityGuid | ||
recordsLagMax: | ||
title: Maximum lag | ||
query: | ||
select: max(provider.recordsLagMax.Maximum) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
facet: entityName | ||
eventId: entityGuid |
29 changes: 29 additions & 0 deletions
29
definitions/infra-awskinesisanalyticstask/summary_metrics.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
providerAccountName: | ||
tag: | ||
key: providerAccountName | ||
title: AWS Account | ||
unit: STRING | ||
numRecordsIn: | ||
title: Number of received records | ||
query: | ||
select: average(provider.numRecordsIn.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
eventId: entityGuid | ||
unit: COUNT | ||
numRecordsOut: | ||
title: Number of emitted records | ||
query: | ||
select: average(provider.numRecordsOut.Average) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
eventId: entityGuid | ||
unit: COUNT | ||
recordsLagMax: | ||
title: Maximum lag | ||
query: | ||
select: max(provider.recordsLagMax.Maximum) | ||
from: AwsKinesisAnalyticsTaskSample | ||
where: provider='AwsKinesisAnalyticsTask' | ||
eventId: entityGuid | ||
unit: COUNT |