Skip to content

Commit

Permalink
Merge branch 'main' into javimb/generic-db-rule
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviocarvalho authored Jan 13, 2025
2 parents 7b5ca82 + 04534dd commit cec5cd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion entity-types/infra-azurefunctionsapp/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ goldenTags:
- azure.resourceGroupName
- azure.state
configuration:
entityExpirationTime: DAILY
entityExpirationTime: QUARTERLY
alertable: true
synthesis:
tags:
Expand Down
26 changes: 2 additions & 24 deletions entity-types/infra-host/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,28 +292,8 @@ synthesis:
entityTagNames: [hostname]
instrumentation.provider:
# AWS EC2 host synthesized via ElasticBeanstalk logs
# Legacy API Polling entities not using the ARN to compute the entity.guid, but directly providing the entityId
- identifier: entityId
name: aws.ec2.InstanceId
encodeIdentifierInGUID: false
legacyFeatures:
overrideGuidType: true
conditions:
- attribute: eventType
prefix: Log
- attribute: aws.Arn
present: true
- attribute: aws.ec2.InstanceId
present: true
- attribute: entityId
present: true
tags:
aws.Arn:
# Used in AWSEC2.yml for entity relationship candidates
aws.ec2.InstanceId:
# AWS EC2 host synthesized via ElasticBeanstalk logs
# Metrics Streams and API Polling entities using the ARN to compute the entity.guid
- identifier: aws.Arn
# Metrics Streams and API Polling entities use the instanceId to compute the entity.guid
- identifier: aws.ec2.InstanceId
name: aws.ec2.InstanceId
encodeIdentifierInGUID: true
legacyFeatures:
Expand All @@ -325,8 +305,6 @@ synthesis:
present: true
- attribute: aws.ec2.InstanceId
present: true
- attribute: entityId
present: false
tags:
aws.Arn:
# Used in AWSEC2.yml for entity relationship candidates
Expand Down

0 comments on commit cec5cd6

Please sign in to comment.