forked from newrelic/entity-definitions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINFRA-KUBERNETES_POD-to-EXT-CALICO.stg.yml
More file actions
51 lines (51 loc) · 1.34 KB
/
INFRA-KUBERNETES_POD-to-EXT-CALICO.stg.yml
File metadata and controls
51 lines (51 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
relationships:
- name: k8sPodContainsExtCalicoStg
version: "1"
origins:
- Prometheus
conditions:
- attribute: metricName
startsWith: felix_
- attribute: cluster_name
present: true
relationship:
expires: PT75M
relationshipType: CONTAINS
source:
lookupGuid:
candidateCategory: KUBERNETES_POD
fields:
- field: k8s.clusterName
attribute: cluster_name
- field: k8s.namespaceName
attribute: namespace
- field: k8s.podName
attribute: pod
target:
extractGuid:
attribute: entity.guid
- name: k8sPodContainsExtCalicoOtelStg
version: "1"
origins:
- OpenTelemetry
conditions:
- attribute: metricName
startsWith: felix_
- attribute: k8s.cluster.name
present: true
relationship:
expires: PT75M
relationshipType: CONTAINS
source:
lookupGuid:
candidateCategory: KUBERNETES_POD
fields:
- field: k8s.clusterName
attribute: k8s.cluster.name
- field: k8s.namespaceName
attribute: k8s.namespace.name
- field: k8s.podName
attribute: k8s.pod.name
target:
extractGuid:
attribute: entity.guid