-
Notifications
You must be signed in to change notification settings - Fork 265
/
definition.yml
41 lines (40 loc) · 1.01 KB
/
definition.yml
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
domain: EXT
type: PIXIE_POSTGRES
synthesis:
rules:
# Matches the services that exist inside a cluster (namespace is not null).
- compositeIdentifier:
separator: "/"
attributes:
- postgres.service.name
- postgres.namespace.name
- px.cluster.id
name: postgres.service.name
encodeIdentifierInGUID: true
conditions:
- attribute: postgres.req_cmd
present: true
- attribute: instrumentation.provider
value: pixie
tags:
k8s.cluster.name:
# Matches the services that exist outside of a cluster (namespace is null).
- compositeIdentifier:
separator: "/"
attributes:
- postgres.service.name
- px.cluster.id
name: postgres.service.name
encodeIdentifierInGUID: true
conditions:
- attribute: postgres.req_cmd
present: true
- attribute: instrumentation.provider
value: pixie
tags:
k8s.cluster.name:
dashboardTemplates:
newRelic:
template: dashboard.json
configuration:
alertable: true