Skip to content

Commit d2c5ed8

Browse files
authored
1.4.3
* Cleanup Agent
1 parent e71d304 commit d2c5ed8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3214
-3704
lines changed

.codeclimate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ engines:
55

66
ratings:
77
paths:
8-
- "**.java"
8+
- "**.java"
99

1010
exclude_patterns:
11-
- "src/main/java/io/prometheus/common/ConfigVals.java"
11+
- "src/main/java/io/prometheus/common/ConfigVals.java"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=1.4.2
1+
VERSION=1.4.3
22

33
default: compile
44

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,42 +97,40 @@ scrape_configs:
9797
9898
The docker images are available via:
9999
```bash
100-
docker pull pambrose/prometheus-proxy:1.4.2
101-
docker pull pambrose/prometheus-agent:1.4.2
100+
docker pull pambrose/prometheus-proxy:1.4.3
101+
docker pull pambrose/prometheus-agent:1.4.3
102102
```
103103

104104
Start the proxy and an agent in separate shells on your local machine:
105105

106106
```bash
107107
docker run --rm -p 8082:8082 -p 8092:8092 -p 50051:50051 -p 8080:8080 \
108-
-e HOSTNAME=${HOSTNAME} \
108+
-e ADMIN_ENABLED=true \
109109
-e METRICS_ENABLED=true \
110-
pambrose/prometheus-proxy:1.4.2
110+
pambrose/prometheus-proxy:1.4.3
111111
```
112112

113113
```bash
114114
docker run --rm -p 8083:8083 -p 8093:8093 \
115-
-e HOSTNAME=${HOSTNAME} \
116115
-e AGENT_CONFIG='https://raw.githubusercontent.com/pambrose/prometheus-proxy/master/examples/simple.conf' \
117-
pambrose/prometheus-agent:1.4.2
116+
pambrose/prometheus-agent:1.4.3
118117
```
119118

120119
If you want to be able to externalize your `agent` config file on your local machine (or VM) file system (instead of the above HTTP served config file), you'll need to add the Docker `volume` definition to the command:
121120

122121
```bash
123122
docker run --rm -p 8083:8083 -p 8093:8093 \
124123
-v ${PWD}/prom-agent.conf:/prom-agent.conf \
125-
-e HOSTNAME=${HOSTNAME} \
126124
-e AGENT_CONFIG=/prom-agent.conf \
127-
pambrose/prometheus-agent:1.4.2
125+
pambrose/prometheus-agent:1.4.3
128126
```
129127

130128
The above assumes that you have the file `prom-agent.conf` in the current directory from which you're running the `docker` command.
131129

132130
Using the config file [simple.conf](https://raw.githubusercontent.com/pambrose/prometheus-proxy/master/examples/simple.conf),
133131
the proxy and the agent metrics would be available from the proxy on *localhost* at:
134-
* http://localohost:8082/proxy_metrics
135-
* http://localohost:8083/agent_metrics
132+
* http://localhost:8082/proxy_metrics
133+
* http://localhost:8083/agent_metrics
136134

137135
## Configuration
138136

bin/docker-agent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
docker run --rm -p 8083:8083 -p 8093:8093 \
44
-e HOSTNAME=${HOSTNAME} \
55
-e AGENT_CONFIG='https://raw.githubusercontent.com/pambrose/prometheus-proxy/master/examples/simple.conf' \
6-
pambrose/prometheus-agent:1.4.2
6+
pambrose/prometheus-agent:1.4.3

bin/docker-proxy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
docker run --rm -p 8082:8082 -p 8092:8092 -p 50051:50051 -p 8080:8080 \
44
-e HOSTNAME=${HOSTNAME} \
55
-e PROXY_CONFIG='https://raw.githubusercontent.com/pambrose/prometheus-proxy/master/examples/simple.conf' \
6-
pambrose/prometheus-proxy:1.4.2
6+
pambrose/prometheus-proxy:1.4.3

0 commit comments

Comments
 (0)