-
Notifications
You must be signed in to change notification settings - Fork 77
/
oracle.conf.example
65 lines (63 loc) · 1.48 KB
/
oracle.conf.example
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
connections:
- connection: <user>/<pass>@<tnsname>
database: DEVELOP
instance: DEVELOP
alertlog:
- file: /data/oracle/diag/rdbms/develop/DEVELOP/trace/alert_DEVELOP.log
ignoreora:
- ORA-00001
- ORA-01033
- ORA-01041
- ORA-01089
- ORA-01555
- ORA-28
- ORA-235
- ORA-609
- ORA-3136
queries:
- sql: "select 1 as column1, 2 as column2 from dual"
name: sample1
help: "This is my metric number 1"
metrics:
- column1
labels:
- column2
- sql: "select 2 as column1 from dual"
name: sample2
help: "This is my metric number 2"
metrics:
- column1
- connection: <user>/<pass>@<tnsname>
database: STAGE
instance: STAGE
alertlog:
- file: /data/oracle/diag/rdbms/stage/STAGE/trace/alert_STAGE.log
ignoreora:
- ORA-00001
- ORA-01033
- ORA-01041
- ORA-01089
- ORA-01555
- ORA-28
- ORA-235
- ORA-609
- ORA-3136
queries:
- sql: "select 1 as column1, 'label_value' as column2 from dual"
name: sample1
help: "This is my metric number 1"
metrics:
- column1
labels:
- column2
- sql: "select 3 as column1, 4 as column4 from dual"
name: sample3
help: "This is my metric number 3"
metrics:
- column1
- column4
- connection:
database: DUMMY
instance: DUMMY
alertlog:
- file: trace/alert_DUMMY.log