Skip to content

Commit

Permalink
Introduce a new candidate category for HTTP services (#1795)
Browse files Browse the repository at this point in the history
  • Loading branch information
javimb authored Nov 25, 2024
1 parent b8ac940 commit d6dbfce
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions entity-types/uninstrumented-httpservice/definition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
domain: UNINSTRUMENTED
type: HTTPSERVICE

configuration:
entityExpirationTime: FOUR_HOURS
alertable: false
18 changes: 18 additions & 0 deletions relationships/candidates/HTTPSERVICE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
category: HTTPSERVICE
lookups:
- entityTypes:
- domain: APM
type: APPLICATION
- domain: EXT
type: SERVICE
tags:
matchingMode: ALL
predicates:
- tagKeys: ["nr.endpointHostname"]
field: hostname
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: HTTPSERVICE

0 comments on commit d6dbfce

Please sign in to comment.