From a4de79902cbdcdec98189826823cd9287b6fb9e9 Mon Sep 17 00:00:00 2001 From: jack-berg <34418638+jack-berg@users.noreply.github.com> Date: Tue, 13 Aug 2024 07:44:29 -0500 Subject: [PATCH] Stop classifying INFRA-WIN_SERVICE data as EXT-SERVICE (#1723) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Otávio Carvalho --- entity-types/ext-service/definition.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/entity-types/ext-service/definition.yml b/entity-types/ext-service/definition.yml index 9f7a91de0..62cff04c2 100644 --- a/entity-types/ext-service/definition.yml +++ b/entity-types/ext-service/definition.yml @@ -14,6 +14,13 @@ synthesis: - attribute: service_name - attribute: newrelic.entity.type present: false + # Exclude data from INFRA-WIN_SERVICE telemetry sources. Typically, data from these sources + # includes entity info (guid, type, name) from the client side. But due to race conditions, + # data is occasionally emitted without entity info and is erroneously classified as EXT-SERVICE. + # Ideally, we would skip data where collector.name = infrastructure-agent, but it's not possible + # to express that condition. Excluding all data with attribute collector.name is probably fine. + - attribute: collector.name + present: false tags: telemetry.sdk.name: entityTagName: instrumentation.provider