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
Copy file name to clipboardExpand all lines: README.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,25 @@
2
2
3
3
This project aims to provide observability for the Oracle Database so that users can understand performance and diagnose issues easily across applications and database. Over time, this project will provide not just metrics, but also logging and tracing support, and integration into popular frameworks like Spring Boot. The project aims to deliver functionality to support both cloud and on-premises databases, including those running in Kubernetes and containers.
4
4
5
+
## Main Features
6
+
7
+
The main features of the exporter are:
8
+
9
+
- Exports Oracle Database metrics in de facto standard Prometheus format
10
+
- Works with many types of Oracle Database deployment including single instance and Oracle Autonomous Database
11
+
- Supports wallet-based authentication
12
+
- Supports both OCI and Azure Vault integration (for database username, password)
13
+
- Multiple database support allows a single instance of the exporter to connect to, and export metrics from, multiple databases
14
+
- Can export the Alert Log in JSON format for easy ingest by log aggregators
15
+
- Can run as a local binary, in a container, or in Kubernetes
16
+
- Pre-buit AMD64 and ARM64 images provided
17
+
- A set of standard metrics included "out of the box"
18
+
- Easily define custom metrics
19
+
- Define the scrape interval, down to a per-metric level
20
+
- Define the query timeout
21
+
- Control connection pool settings, can use with go-sql or Oracle Database connection pools, also works with Database Resident Connection Pools
From the first production release, v1.0, onwards, this project provides a [Prometheus](https://prometheus.io/) exporter for Oracle Database that is based in part on a Prometheus exporter created by [Seth Miller](https://github.com/iamseth/oracledb_exporter) with changes to comply with various Oracle standards and policies.
@@ -34,6 +53,7 @@ Contributions are welcome - please see [contributing](CONTRIBUTING.md).
>**Note:** If you are using `podman` you must specify the `:z` suffix on the volume mount so that the container will be able to access the files in the volume. For example: `-v ./wallet:/wallet:z`
#### Create a config map for the exporter configuration file (recommended)
488
+
489
+
Create a config map with the exporter configuration file (if you are using one) using this command:
490
+
491
+
```bash
492
+
kubectl create cm metrics-exporter-config \
493
+
--from-file=metrics-exporter-config.yaml
494
+
```
495
+
496
+
> NOTE: It is strongly recommended to migrate to the new config file if you are running version 2.0.0 or later.
497
+
498
+
467
499
#### Create a config map for the wallet (optional)
468
500
469
501
Create a config map with the wallet (if you are using one) using this command. Run this commandin the `wallet` directory you created earlier.
@@ -481,7 +513,7 @@ kubectl create cm db-metrics-tns-admin \
481
513
-n exporter
482
514
```
483
515
484
-
#### Create a config map for you metrics definition file (optional)
516
+
#### Create a config map for your metrics definition file (optional)
485
517
486
518
If you have defined any [custom metrics](#custom-metrics), you must create a config map for the metrics definition file. For example, if you created a configuration file called `txeventq-metrics.toml`, then create the config map with this command:
487
519
@@ -967,7 +999,7 @@ An exmaple of [custom metrics for Transacational Event Queues](./custom-metrics-
967
999
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:
968
1000
969
1001
```Dockerfile
970
-
FROM container-registry.oracle.com/database/observability-exporter:1.6.1
1002
+
FROM container-registry.oracle.com/database/observability-exporter:2.0.1
0 commit comments