Use the following configuration to locally run and test the OTEL demo:
- For additional help go here
Raise the upper limits for OpenSearch to be able handling high I/O :
sudo sysctl -w vm.max_map_count=512000
run the following script to map the docker-compose service names to your local dns
# The hostname you want to associate with the IP address
OPENSEARCH_HOST="opensearch"
OPENSEARCH_DASHBOARD="opensearch-dashboards"
OTEL_STORE="frontend"
OTEL_LOADER="loadgenerator"
PROMETHEUS="prometheus"
# Add the entry to the /etc/hosts file
echo "$IP $OPENSEARCH_HOST" | sudo tee -a /etc/hosts
echo "$IP $OPENSEARCH_DASHBOARD" | sudo tee -a /etc/hosts
echo "$IP $OTEL_STORE" | sudo tee -a /etc/hosts
echo "$IP $PROMETHEUS" | sudo tee -a /etc/hosts
echo "$IP $OTEL_LOADER" | sudo tee -a /etc/hosts