File tree 2 files changed +7
-5
lines changed
cmd/axiom-honeycomb-proxy 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,19 @@ Docker images are available on [DockerHub][docker].
64
64
65
65
1 . Set the following environment variables:
66
66
67
- * ` AXIOM_URL ` : ** https://cloud.axiom.co **
68
67
* ` AXIOM_TOKEN ` : ** Personal Access** or ** Ingest** token. Can be
69
68
created under ` Profile ` or ` Settings > Ingest Tokens ` . For security reasons it
70
69
is advised to use an Ingest Token with minimal privileges only.
71
70
72
- 1 . Run it: ` ./axiom-honeycomb-proxy ` or using docker:
71
+ When using Axiom Selfhost:
72
+
73
+ * ` AXIOM_URL ` : URL of the Axiom deployment to use.
74
+
75
+ 2 . Run it: ` ./axiom-honeycomb-proxy ` or using Docker:
73
76
74
77
``` shell
75
78
docker run -p8080:8080/tcp \
76
- -e=AXIOM_URL=< https://cloud.axiom.co> \
77
- -e=AXIOM_TOKEN=< xapt-xxxxx-xxxxxx> \
79
+ -e=AXIOM_TOKEN=< YOUR_AXIOM_TOKEN> \
78
80
axiomhq/axiom-honeycomb-proxy
79
81
```
80
82
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ func main() {
25
25
flag .Parse ()
26
26
27
27
if deploymentURL == "" {
28
- log . Fatal ( "missing AXIOM_URL" )
28
+ deploymentURL = axiom . CloudURL
29
29
}
30
30
if accessToken == "" {
31
31
log .Fatal ("missing AXIOM_TOKEN" )
You can’t perform that action at this time.
0 commit comments