Skip to content
Snippets Groups Projects
Commit 48af2f92 authored by Aleksandar Ivanov's avatar Aleksandar Ivanov
Browse files

README.md included Openshift deployment

parent f3a92672
No related branches found
No related tags found
No related merge requests found
Loading
@@ -64,6 +64,20 @@ oc process -f https://raw.githubusercontent.com/ivanovaleksandar/redis_exporter/
Loading
@@ -64,6 +64,20 @@ oc process -f https://raw.githubusercontent.com/ivanovaleksandar/redis_exporter/
| oc create -f - | oc create -f -
``` ```
   
If you are running Prometheus on Openshift on the same cluster, **target** in `prometheus.yml` should point to the correct service name of the exporter
```
scrape_configs:
...
- job_name: redis_exporter
static_configs:
- targets: ['<redis-exporter.myproject.svc>:9121']
...
```
### Flags ### Flags
   
Name | Description Name | Description
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment