You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the built-in default metrics, the database user that the exporter uses to connect to the Oracle Database instance must have the `SELECT_CATALOG_ROLE` privilege and/or `SELECT` permission on the following tables.
322
+
For the built-in default metrics, the database user that the exporter uses to connect to the Oracle Database instance must have the `SELECT_CATALOG_ROLE` privilege and/or `SELECT` permission on the following objects:
309
323
310
324
- dba_tablespace_usage_metrics
311
325
- dba_tablespaces
@@ -317,6 +331,11 @@ For the built-in default metrics, the database user that the exporter uses to co
317
331
- v$waitclassmetric
318
332
- v$session
319
333
- v$resource_limit
334
+
- v$parameter
335
+
- v$database
336
+
- v$sqlstats
337
+
- v$sysmetric
338
+
- v$diag_alert_ext (for alert logs only)
320
339
321
340
## Alert logs
322
341
@@ -353,6 +372,8 @@ Here is an example of the output:
@@ -712,7 +733,7 @@ An exmaple of [custom metrics for Transacational Event Queues](./custom-metrics-
712
733
If you run the exporter as a container image and want to include your custom metrics in the image itself, you can use the following example `Dockerfile` to create a new image:
713
734
714
735
```Dockerfile
715
-
FROM container-registry.oracle.com/database/observability-exporter:1.3.0
736
+
FROM container-registry.oracle.com/database/observability-exporter:1.3.1
Copy file name to clipboardExpand all lines: main.go
+17-11
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ var (
42
42
maxIdleConns=kingpin.Flag("database.maxIdleConns", "Number of maximum idle connections in the connection pool. (env: DATABASE_MAXIDLECONNS)").Default(getEnv("DATABASE_MAXIDLECONNS", "0")).Int()
43
43
maxOpenConns=kingpin.Flag("database.maxOpenConns", "Number of maximum open connections in the connection pool. (env: DATABASE_MAXOPENCONNS)").Default(getEnv("DATABASE_MAXOPENCONNS", "10")).Int()
44
44
scrapeInterval=kingpin.Flag("scrape.interval", "Interval between each scrape. Default is to scrape on collect requests").Default("0s").Duration()
45
+
logDisable=kingpin.Flag("log.disable", "Set to 1 to disable alert logs").Default("0").Int()
45
46
logInterval=kingpin.Flag("log.interval", "Interval between log updates (e.g. 5s).").Default("15s").Duration()
46
47
logDestination=kingpin.Flag("log.destination", "File to output the alert log to. (env: LOG_DESTINATION)").Default(getEnv("LOG_DESTINATION", "/log/alert.log")).String()
0 commit comments