Skip to content

Commit e7bb36f

Browse files
ppant-codeapoloa
andauthored
Promote eBPF synthesis updates to prod (#2483)
* Release eBPF entity synthesis changes to prod * fix: Remove incorrect origin * fix: Remove APM metrics origin --------- Co-authored-by: Adrian <[email protected]>
1 parent e7e5a29 commit e7bb36f

File tree

6 files changed

+48
-352
lines changed

6 files changed

+48
-352
lines changed

entity-types/ext-service/definition.stg.yml

Lines changed: 0 additions & 273 deletions
This file was deleted.

entity-types/ext-service/definition.yml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,12 @@ synthesis:
160160
conditions:
161161
- attribute: instrumentation.name
162162
value: nr_ebpf
163+
- attribute: instrumentation.provider
164+
value: opentelemetry
163165
- attribute: trace_role
164166
value: client
165167
- attribute: service.name
166-
- attribute: ebpf_entity
167-
present: false
168+
present: true
168169
tags:
169170
k8s.cluster.name:
170171
entityTagName: k8s.clusterName
@@ -185,11 +186,12 @@ synthesis:
185186
conditions:
186187
- attribute: instrumentation.name
187188
value: nr_ebpf
189+
- attribute: instrumentation.provider
190+
value: opentelemetry
188191
- attribute: trace_role
189192
value: server
190193
- attribute: service.name
191-
- attribute: ebpf_entity
192-
present: false
194+
present: true
193195
tags:
194196
k8s.cluster.name:
195197
entityTagName: k8s.clusterName
@@ -204,6 +206,34 @@ synthesis:
204206
local_addr:
205207
local_port:
206208

209+
# telemetry from NR eBPF agent with instrumentation.provider newrelic-ebpf
210+
- compositeIdentifier:
211+
separator: ":"
212+
attributes:
213+
- service.name
214+
- instrumentation.name
215+
name: service.name
216+
encodeIdentifierInGUID: true
217+
conditions:
218+
- attribute: instrumentation.provider
219+
value: newrelic-ebpf
220+
- attribute: instrumentation.name
221+
value: nr_ebpf
222+
- attribute: service.name
223+
present: true
224+
tags:
225+
k8s.cluster.name:
226+
entityTagName: k8s.clusterName
227+
ttl: P1D
228+
k8s.namespace.name:
229+
entityTagName: k8s.namespaceName
230+
ttl: P1D
231+
deployment.name:
232+
entityTagName: k8s.deploymentName
233+
ttl: P1D
234+
host.name:
235+
service.name:
236+
207237
# IMPORTANT:
208238
# This rule matches on any telemetry with service.name
209239
# which is too broad for some telemetry sources, resulting
@@ -219,8 +249,6 @@ synthesis:
219249
- attribute: service.name
220250
- attribute: newrelic.entity.type
221251
present: false
222-
- attribute: ebpf_entity
223-
present: false
224252
tags:
225253
k8s.cluster.name:
226254
ttl: P1D

0 commit comments

Comments
 (0)