Skip to content

Commit

Permalink
Merge branch 'dev' into hagenm/fix-log-parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
laullon authored Nov 1, 2023
2 parents 1d99cd1 + 13702e7 commit 0c0fc05
Show file tree
Hide file tree
Showing 4 changed files with 7,726 additions and 6,308 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Wavefront proxy version 10.11 and later use a version of Log4j that addresses th

[Wavefront](https://docs.wavefront.com/) is a high-performance streaming analytics platform for monitoring and optimizing your environment and applications.

The [Wavefront Proxy](https://docs.wavefront.com/proxies.html) is a light-weight Java application that you send your metrics, histograms, and trace data to. It handles batching and transmission of your data to the Wavefront service in a secure, fast, and reliable manner.
The [Wavefront Proxy](https://docs.wavefront.com/proxies.html) is a light-weight Java application that you send your metrics, histograms, logs, and trace data to. It handles batching and transmission of your data to the Wavefront service in a secure, fast, and reliable manner.

## Requirements

Expand Down
30 changes: 21 additions & 9 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,47 @@
## Build

docker build -t wavefront-proxy .

## run

The Proxy will accept Wavefront formatted message on port 2878 (additional listeners can be enabled in WAVEFRONT_PROXY_ARGS, see below).
Just run this docker image with the following environment variables defined, e.g.

docker build -t wavefront-proxy .
#### WF Token

docker run \
-e WAVEFRONT_URL=https://you.wavefront.com/api \
-e WAVEFRONT_TOKEN=<YOUR-API-TOKEN> \
-p 2878:2878 \
wavefront-proxy

docker build -t wavefront-proxy .
#### CSP App ID and App Secret

docker run -d \
-e WAVEFRONT_URL=https://you.wavefront.com/api/ \
-e CSP_APP_ID <CSP_APP_ID> \
-e CSP_APP_SECRET <CSP_APP_SECRET> \
-e CSP_APP_ID=<CSP_APP_ID> \
-e CSP_APP_SECRET=<CSP_APP_SECRET> \
-p 2878:2878 \
wavefront-proxy

docker build -t wavefront-proxy .
#### CSP App ID, App Secret and ORG ID

docker run -d \
-e WAVEFRONT_URL=https://you.wavefront.com/api/ \
-e CSP_APP_ID <CSP_APP_ID> \
-e CSP_APP_SECRET <CSP_APP_SECRET> \
-e CSP_ORG_ID <CSP_ORG_ID> \
-e CSP_APP_ID=<CSP_APP_ID> \
-e CSP_APP_SECRET=<CSP_APP_SECRET> \
-e CSP_ORG_ID=<CSP_ORG_ID> \
-p 2878:2878 \
wavefront-proxy

docker build -t wavefront-proxy .
#### CSP Api Token

docker run -d \
-e WAVEFRONT_URL=https://you.wavefront.com/api/ \
-e CSP_API_TOKEN=<CSP_API_TOKEN> \
-p 2878:2878 \
wavefront-proxy

## Configuration

All properties that exist in [wavefront.conf](https://github.com/wavefrontHQ/java/blob/master/pkg/etc/wavefront/wavefront-proxy/wavefront.conf.default) can be customized by passing their name as long form arguments within your docker run command in the WAVEFRONT_PROXY_ARGS environment variable. For example, add `-e WAVEFRONT_PROXY_ARGS="--pushRateLimit 1000"` to your docker run command to specify a [rate limit](https://github.com/wavefrontHQ/java/blob/master/pkg/etc/wavefront/wavefront-proxy/wavefront.conf.default#L62) of 1000 pps for the proxy.
Loading

0 comments on commit 0c0fc05

Please sign in to comment.