Skip to content

Commit 8ac9438

Browse files
committed
Update to README
1 parent 153a470 commit 8ac9438

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

streams-metric-exporter/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ See [dashboards directory](dashboards/README.md) for more information.
227227
228228
The easiest way to try out the Streams Metric Exporter is to run it using Docker. Included in this release is a Dockerfile for building the image and a docker-compose.yml file for starting it up with Prometheus and Grafana instances.
229229
230-
The versions of Prometheus and Grafana specified in the docker-compose.yml file are those that were used for initial testing.
230+
The versions of Prometheus and Grafana specified in the docker-compose.yml file are those that were used for testing.
231231
232232
## Prerequisites
233233
@@ -236,7 +236,7 @@ The versions of Prometheus and Grafana specified in the docker-compose.yml file
236236
* Docker Engine (version 17.05.0.ce used in development)
237237
* Docker Compose (version 1.9.0-5 with .yml file format 2 used in development)
238238
* Access to Dockerhub or local repository with Images:
239-
* ibmjava:sfj (or any 1.8 version)
239+
* ibmjava:sfj-alpine (or any 1.8 version)
240240
* prom/prometheus (2.0.0 used in development)
241241
* grafana/grafana (4.6.1 used in development)
242242
@@ -294,8 +294,15 @@ http://localhost:25500
294294
```
295295
http://localhost:9090
296296
```
297+
13. Attach to the streamsexporter instance and tail the more detailed logfile
298+
```
299+
docker exec -it docker_streamsexporter_1 /bin/ash
300+
# tail -f StreamsMetricExporter.log
301+
```
297302

298303
# Cached REST endpoints
304+
The original version of streams-metric-exporter provided REST endpoints that returned json information. The REST endpoints are still available in this version. The reason to use these REST endpoints over those available directly from IBM Streams is that by default the auto-refresh is used, and these endpoints only retrieve from the metrics cached in the streams-metric-exporter. Beware, however, if you turn auto-refresh off (--refresh 0) then each of these access points will cause the metrics to be pulled from the Streams JMX Server.
305+
299306
## /instance
300307
Retrieve status of instance being monitored
301308

0 commit comments

Comments
 (0)