Skip to content

Commit 12d1e6c

Browse files
committed
Fix README.
1 parent 36cf329 commit 12d1e6c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,20 @@ docker run -d --name oracledb_exporter --link=oracle -p 9161:9161 -e DATA_SOURCE
6565

6666
Pre-compiled versions for Linux 64 bit and Mac OSX 64 bit can be found under [releases](https://github.com/iamseth/oracledb_exporter/releases).
6767

68-
In order to run, you'll need the [Oracle Instant Client Basic](http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html) for your operating system. Only the basic version is required for execution.
68+
In order to run, you'll need the [Oracle Instant Client Basic](http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html)
69+
for your operating system. Only the basic version is required for execution.
6970

7071
# Running
7172

72-
Ensure that the environment variable DATA_SOURCE_NAME is set correctly before starting. For Example
73+
Ensure that the environment variable DATA_SOURCE_NAME is set correctly before starting. For Example:
7374

7475
```bash
7576
# export Oracle location:
7677
export DATA_SOURCE_NAME=system/password@oracle-sid
7778
# or using a complete url:
7879
export DATA_SOURCE_NAME=user/password@//myhost:1521/service
7980
# Then run the exporter
80-
/path/to/binary/oracledb_exporter --log.level error -web.listen-address 0.0.0.0:9161
81+
/path/to/binary/oracledb_exporter --log.level error --web.listen-address 0.0.0.0:9161
8182
```
8283

8384
## Usage
@@ -104,11 +105,13 @@ Usage of oracledb_exporter:
104105

105106
# Default metrics
106107

107-
This exporter comes with a set of default metrics defined in **default-metrics.toml**. You can modify this file or provide a different one using ``default.metrics`` option.
108+
This exporter comes with a set of default metrics defined in **default-metrics.toml**. You can modify this file or
109+
provide a different one using ``default.metrics`` option.
108110

109111
# Custom metrics
110112

111-
This exporter does not have the metrics you want? You can provide new one using TOML file. To specify this file to the exporter, you can:
113+
This exporter does not have the metrics you want? You can provide new one using TOML file. To specify this file to the
114+
exporter, you can:
112115
- Use ``--custom.metrics`` flag followed by the TOML file
113116
- Export CUSTOM_METRICS variable environment (``export CUSTOM_METRICS=my-custom-metrics.toml``)
114117

@@ -275,7 +278,7 @@ If you experience an error `Error scraping for wait_time: sql: Scan error on col
275278

276279
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
277280
export DATA_SOURCE_NAME=system/oracle@myhost
278-
/path/to/binary -l log.level error -l web.listen-address 9161
281+
/path/to/binary --log.level error --web.listen-address 9161
279282
```
280283

281284
If using Docker, set the same variable using the -e flag.

0 commit comments

Comments
 (0)