-
Notifications
You must be signed in to change notification settings - Fork 1
2. Installation
- Docker 1.18ce (or above) or Kubernetes cluster with helm 2 or 3
- ANODOT_API_TOKEN, ANODOT_ACCESS_KEY, ANODOT_URL
helm repo add anodot https://anodot.github.io/helm-charts
helm upgrade -i anodot-remote-write anodot/anodot-prometheus-remote-write \
--set image.tag=${version} \
--set configuration.env.ANODOT_API_TOKEN="API_TOKEN_VALUE" \
--set configuration.env.ANODOT_ACCESS_KEY="ACCESS_KEY_VALUE" \
--set configuration.env.ANODOT_URL="ANODOT_SERVER_URL" \
--namespace=monitoring
Where image.tag=${version}
should be replaced with required version of application, ANODOT_API_TOKEN
should be replaced with data collection token, ACCESS_KEY_VALUE
should be replaced with access key (How to get the access key).
helm fetch anodot/anodot-prometheus-remote-write --untar
Navigate to the anodot-prometheus-remote-write
folder and edit values.yaml
with the required values (image version, anodot token,
etc)
Run the following command to install the Helm chart:
helm upgrade -i anodot-remote-write . --namespace=monitoring
This command will install the application in the monitoring
namespace.
cd deployment/docker-compose
Open docker-compose.yaml
and edit it as required, specifying the required configuration parameters (image version, Anodot URL, Anodot token, access key etc)
Run the following command to start the application:
docker-compose up -d
docker run -d -p 1234:1234 -e ANODOT_API_TOKEN="xxxxx" -e ANODOT_ACCESS_KEY="xxxx" -e ANODOT_URL="xxx" anodot/prometheus-remote-write:${image_tag}
To enable the integration with the Prometheus server, follow the steps described here